home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / PC_V11_A.LZH / INCLUDE / STDARG.H < prev    next >
Text File  |  1992-09-09  |  521b  |  27 lines

  1. /*      STDARG.H
  2.  
  3.         Parameter List Definition Includes
  4.  
  5.         Copyright (c) Borland International 1990
  6.         All Rights Reserved.
  7. */
  8.  
  9.  
  10. #if !defined(__STDARG)
  11. #define __STDARG
  12.  
  13.  
  14. typedef char    *va_list;
  15.  
  16. #define va_start(ap, parmN) ((ap) = (char *)...)
  17. #define va_arg(ap, type)    \
  18.     ((sizeof(type) == 1) ? \
  19.     (*(type *)((ap += 2) - 1)) : \
  20.     (*((type *)(ap))++))
  21. #define va_end(ap)    (void)0
  22.  
  23.  
  24. #endif
  25.  
  26. /************************************************************************/
  27.