You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

stdarg.h 370B

12345678910111213141516171819202122
  1. #ifndef _STDARG_H
  2. #define _STDARG_H
  3. typedef void * va_list;
  4. #define va_start( ap, last ) do { \
  5. ap = ( &last + 1 ); \
  6. } while ( 0 )
  7. #define va_arg( ap, type ) ({ \
  8. type *_this = ap; \
  9. ap = ( _this + 1 ); \
  10. *(_this); \
  11. })
  12. #define va_end( ap ) do { } while ( 0 )
  13. #define va_copy( dest, src ) do { \
  14. dest = src; \
  15. } while ( 0 )
  16. #endif /* _STDARG_H */