home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / dev / adev11.lha / ADev11 / include / stdarg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-02  |  314 b   |  14 lines

  1. #ifndef _STDARG_H
  2. #define _STDARG_H 1
  3.  
  4. #ifndef _VA_LIST
  5. #define _VA_LIST 1
  6. typedef char *va_list;
  7. #endif
  8.  
  9. #define va_start(a,b) a=(char *)(&b+1)
  10. #define va_arg(a,b)  (*((b *) ((a +=  ((sizeof(b)+sizeof(int)-1) & ~(sizeof(int)-1))   ) -  ((sizeof(b)+sizeof(int)-1) & ~(sizeof(int)-1)) )))
  11. #define va_end(a)
  12.  
  13. #endif
  14.