va-cursor
ARM64 variable argument lists

Next:va-arg ( c-type -- quot: ( cursor -- value ) )


Vocabulary
alien.varargs

Class description
A borrowed position in an ARM64 C variable argument list. A variadic callback receives a cursor after its named parameters. An ordinary callback with a va_list parameter receives a cursor in that parameter's position.

Warning
The cursor and every copy expire when the callback returns or exits exceptionally. Only the callback's current execution and Factor thread may read or forward it. An outer callback can resume reading its cursor after a nested callback returns.


Definition

TUPLE: va-cursor
stack gr-top vr-top gr-offs vr-offs platform lifetime ;