home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 6
/
Sonderheft_6-96.iso
/
demo-versionen
/
stormc_v1.05-demo
/
include
/
stdarg.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-11-03
|
582b
|
29 lines
#ifndef _INCLUDE_STDARG_H
#define _INCLUDE_STDARG_H
/*
** $VER: stdarg.h 1.0 (18.1.96)
** StormC Release 1.0
**
** '(C) Copyright 1995 Haage & Partner Computer GmbH'
** All Rights Reserved
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef unsigned int va_list;
#define va_start(vl,lastarg) (vl) = (unsigned int)(&lastarg) + sizeof(lastarg)
#define va_arg(vl,type) ((vl) += sizeof(type), \
sizeof(type) > 1 ? ((vl) = (vl) + 1 & 0xfffffffe) : (vl), \
((type *) vl)[-1])
#define va_end(vl)
#ifdef __cplusplus
}
#endif
#endif