Last change
on this file since e225e77 was 7258c6a, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Use standard integer types.
|
-
Property mode
set to
100644
|
File size:
418 bytes
|
Rev | Line | |
---|
[bfc0072] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | stdarg.h -- variable argument list macros
|
---|
| 4 | Version 1 -- 2017-07-07 -- Thomas Lopatic
|
---|
| 5 | =============================================================================
|
---|
| 6 | */
|
---|
| 7 |
|
---|
[7258c6a] | 8 | typedef int8_t *va_list;
|
---|
[bfc0072] | 9 |
|
---|
[7258c6a] | 10 | #define va_start(ap, last) ap = (int8_t *)&last + sizeof(last)
|
---|
[bfc0072] | 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.