source: buchla-68k/include/stdarg.h@ 7258c6a

Last change on this file since 7258c6a was 7258c6a, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Use standard integer types.

  • Property mode set to 100644
File size: 418 bytes
Line 
1/*
2 =============================================================================
3 stdarg.h -- variable argument list macros
4 Version 1 -- 2017-07-07 -- Thomas Lopatic
5 =============================================================================
6*/
7
8typedef int8_t *va_list;
9
10#define va_start(ap, last) ap = (int8_t *)&last + sizeof(last)
11#define va_arg(ap, type) (ap += sizeof(type), ap[-1])
12#define va_end(ap)
13
Note: See TracBrowser for help on using the repository browser.