home *** CD-ROM | disk | FTP | other *** search
/ vis-ftp.cs.umass.edu / vis-ftp.cs.umass.edu.tar / vis-ftp.cs.umass.edu / pub / Software / ASCENDER / ascendMar8.tar / UMass / Triangulate / include / varargs_parse.h < prev   
C/C++ Source or Header  |  1995-04-13  |  567b  |  21 lines

  1. /* @(#)varargs_parse.h    1.3 6/17/94 */
  2. /* This is copied from the UCB 4.1 varargs.h and edited.
  3. /* The purpose is just to get c programs to parse correctly, not
  4. /* to create proper code */
  5.  
  6. #ifndef varargs_parse_h
  7. #define varargs_parse_h
  8.  
  9. /* To inhibit the inclusion of a bunch of other varargs files */
  10. #define _sys_varargs_h
  11. #define _VARARGS_H
  12. #define __GNUC_VA_LIST
  13.  
  14. typedef char *va_list;
  15. # define va_dcl int va_alist;
  16. # define va_start(list) list = (char *) &va_alist
  17. # define va_end(list)
  18. # define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1]
  19.  
  20. #endif 
  21.