home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
tlint1_0.zip
/
tlint1_0
/
include
/
stdarg.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-11-08
|
581b
|
28 lines
/*
* Copyright (c) 1995, by Thinkage Ltd.
*
* stdarg.h - interface for arbitrary argument functions
*/
#ifndef _D_STDARG
# define _D_STDARG
# pragma idempotent
# protoset stdarg
typedef void *va_list[1];
# define va_start(ap,parmN) ((ap)[0] = ((&(parmN)) + 1))
# define va_arg(ap,type) ( \
((ap)[0] = __alignp( (ap)[0], __alignof(type) )), \
(*(*(type **) &(ap)[0])++) \
)
# define va_end(ap) ((ap)[0] = NULL)
void *
__alignp( void *, unsigned );
#endif /* _D_STDARG */