Handbook
Glossary
va-copy ( cursor -- copy )
ARM64 variable argument lists
Prev:
va-arg ( c-type -- quot: ( cursor -- value ) )
Next:
va_list
Vocabulary
alien
.
varargs
Inputs
cursor
a
va-cursor
Outputs
copy
a
va-cursor
Word description
Copies the current position. Reading either cursor does not advance the other. The copy borrows the same argument storage and expires with the same callback.
Errors
Throws
expired-va-list
when the source cursor cannot be used.
Definition
USING:
kernel
;
IN:
alien.varargs
:
va-copy
( cursor -- copy )
dup
check-va-list
clone
;