ARM64 variable argument lists


The alien.varargs vocabulary reads and forwards variable arguments received from C. It supports macOS, Linux, and Windows ARM64 argument-list layouts.
va-cursor

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

va-copy ( cursor -- copy )

va_list


The argument cursor contains a position, not a description of the remaining arguments. Use the C API's declared protocol to choose each type and determine when to stop.