home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
c
/
sozobon
/
sozlib15.zoo
/
sozdistr
/
include
/
xdlibs
/
stdarg.h
< prev
next >
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
|
1995-07-30
|
356 b
|
17 lines
/*
* @(#)stdarg.h, XdLibs, SozobonX
*
*/
#ifndef _STDARG_H
#define _STDARG_H
typedef void *va_list;
#define va_start(list,param) list = ((va_list) &(param)) \
+ ((sizeof(param) + 1) & ~1)
#define va_arg(list,type) ((type *)(list += ((sizeof(type) + 1) & ~1)))[-1]
#define va_end(list) list = ((va_list) 0)
#endif /* _STDARG_H */