home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c060 / 5.ddi / STDARG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1988-08-29  |  469 b   |  25 lines

  1. /*    stdarg.h
  2.  
  3.     Definitions for accessing parameters in functions that accept
  4.     a variable number of arguments.
  5.  
  6.     Copyright (c) Borland International 1987,1988
  7.     All Rights Reserved.
  8. */
  9. #if __STDC__
  10. #define _Cdecl
  11. #else
  12. #define _Cdecl    cdecl
  13. #endif
  14.  
  15. #if    !defined(__STDARG)
  16. #define __STDARG
  17.  
  18. typedef void    *va_list;
  19.  
  20. #define va_start(ap, parmN)    (ap = ...)
  21. #define va_arg(ap, type)    (*((type *)(ap))++)
  22. #define va_end(ap)
  23. #define _va_ptr            (...)
  24. #endif
  25.