home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / prog / c / dice206.lzh / netdcc / include / stdarg.h < prev    next >
C/C++ Source or Header  |  1990-08-02  |  426b  |  20 lines

  1.  
  2. /*
  3.  *  STDARG.H
  4.  *
  5.  *  (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  6.  */
  7.  
  8. #ifndef _STDARG_H
  9. #define _STDARG_H
  10.  
  11. #ifndef _STDIO_H
  12. typedef void *va_list;
  13. #endif
  14.  
  15. #define va_arg(valist,typename) ((valist = (void *)((char *)valist + sizeof(typename))), (*(typename *)((char *)(valist) - sizeof(typename))))
  16. #define va_start(valist,right)  (valist = (void*)((char *)&right + sizeof(right)))
  17. #define va_end(valist)
  18.  
  19. #endif
  20.