fix fmacro replacement
This commit is contained in:
parent
19ea12a1d4
commit
2bb803e673
2 changed files with 33 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue