newlib/include/mpw/varargs.h

10 lines
249 B
C
Raw Normal View History

1999-05-03 09:29:06 +02:00
/* varargs.h. */
#ifndef __va_list__
#define __va_list__
typedef char *va_list;
#endif
#define va_dcl int va_alist;
#define va_start(list) list = (char *) &va_alist
#define va_end(list)
#define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1]