home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
prog_c
/
schem2c1.lzh
/
Scheme2C
/
Scheme-src.lzh
/
scrt
/
varargs.h
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-10-11
|
344 b
|
11 lines
/*
* Varargs, for use on AmigaDOS with the Lattice C compiler, or (maybe?) the
* Manx compiler with 32-bit ints. Blatantly lifted from 4.2BSD.
*/
typedef char *va_list;
#define va_dcl int va_alist;
#define va_start(pv) pv = (char *) &va_alist
#define va_end(pv) /* Naught to do... */
#define va_arg(pv, t) ((t *) (pv += sizeof(t)))[-1]