va_list
ARM64 variable argument lists

Prev:va-copy ( cursor -- copy )


Vocabulary
alien.varargs

Word description
The native ARM64 va_list parameter type. On Linux this is a structure containing stack and register-save pointers and offsets; on macOS and Windows it is a pointer. Use this type for C functions such as vsnprintf and callbacks that receive an existing va_list.

Notes
A callback parameter is boxed as a borrowed va-cursor. Passing a cursor to C materializes an independent native list position. C may consume that temporary position without advancing the Factor cursor, so the same cursor can be forwarded more than once.This vocabulary preserves the historical void* representation on other architectures; cursor reading and native-list conversion are implemented for ARM64 only.

Definition