fix fmacro replacement

This commit is contained in:
pommicket 2022-01-09 17:26:16 -05:00
parent 19ea12a1d4
commit 2bb803e673
2 changed files with 33 additions and 9 deletions

View file

@ -112,6 +112,14 @@ function memccpy_advance
*8p_dest = dest
return
; copy from src to dest until terminator is reached, returning pointer to terminator in dest.
function memccpy
argument dest
argument src
argument terminator
memccpy_advance(&dest, &src, terminator)
return dest
; just like C
function memcpy
argument dest