cbc/lib/stdarg.cb

16 lines
165 B
Plaintext

import stdarg;
va_list
va_init(void *arg)
{
return (va_list)arg + 1;
}
va_arg_t
va_next(va_list* ap)
{
va_arg_t arg = **ap;
(*ap)++;
return arg;
}