home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / stdarg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-09  |  454 b   |  20 lines

  1.  
  2. /*
  3.  *  $VER: stdarg.h 1.0 (17.4.93)
  4.  *
  5.  * (c)Copyright 1992 Obvious Implementations Corp, 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.