home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / LATTIC_3.LZH / HEADERS / STDARG.H < prev    next >
C/C++ Source or Header  |  1990-09-24  |  340b  |  19 lines

  1. /*
  2.  * stdarg.h - ANSI variable argument mechanism
  3.  *
  4.  * Copyright (c) 1989 Lattice, Inc.
  5.  */
  6.  
  7. #ifndef _STDARG_H
  8. #define _STDARG_H
  9.  
  10. #ifndef _VA_LIST
  11. #define _VA_LIST
  12. typedef char *va_list;
  13. #endif
  14.  
  15. #define va_start(a,b)    (a=(va_list)(&b+1))
  16. #define va_arg(a,b)        *((b *)( (a+=sizeof(b))-sizeof(b) ))
  17. #define va_end(a)
  18. #endif
  19.