old-trainOS/include/varargs.h

15 lines
308 B
C
Raw Normal View History

2015-08-09 00:42:56 +00:00
#pragma once
2015-08-13 12:56:50 +00:00
#if defined(__cplusplus)
extern "C" {
#endif
2015-08-09 00:42:56 +00:00
typedef __builtin_va_list va_list;
#define va_start(ap, X) __builtin_va_start(ap, X)
#define va_arg(ap, type) __builtin_va_arg(ap, type)
2015-08-13 12:56:50 +00:00
#define va_end(ap) __builtin_va_end(ap)
#if defined(__cplusplus)
}
#endif