Changeset 5fa506d in buchla-68k for include/stdarg.h
- Timestamp:
- 07/10/2017 09:48:23 AM (7 years ago)
- Branches:
- master
- Children:
- 6262b5c
- Parents:
- f7428b1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/stdarg.h
rf7428b1 r5fa506d 7 7 8 8 #pragma once 9 9 10 #include "stdint.h" 10 11 11 12 typedef int8_t *va_list; 12 13 13 #define va_start(ap, last) ap = (int8_t *)&last + sizeof(last)14 #define va_arg(ap, type) (ap += sizeof (type), ap[-1])14 #define va_start(ap, last) (ap = (int8_t *)&last + sizeof last) 15 #define va_arg(ap, type) (ap += sizeof (type), ((type *)ap)[-1]) 15 16 #define va_end(ap)
Note:
See TracChangeset
for help on using the changeset viewer.