mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2024-09-07 09:54:37 +00:00
0ba83392d4
Resource forks are included only for .rsrc files. These are DeRezzed into their data fork. 'ckid' resources, from the Projector VCS, are not included. The Tools directory, containing mostly junk, is also excluded.
31 lines
541 B
C
31 lines
541 B
C
/*
|
|
StdArg.h -- Variable arguments
|
|
|
|
Copyright Apple Computer,Inc. 1987, 1990-1991
|
|
All rights reserved.
|
|
This file is used in these builds: ROM System
|
|
|
|
|
|
Change History (most recent first):
|
|
|
|
<4> 8/8/91 JL Updated copyright
|
|
|
|
To Do:
|
|
*/
|
|
|
|
|
|
#ifndef __STDARG__
|
|
#define __STDARG__
|
|
|
|
#ifndef __va_list__
|
|
#define __va_list__
|
|
typedef char *va_list;
|
|
#endif
|
|
|
|
#define va_start(ap, parmN) ap = (va_list) ((char *)&parmN + sizeof (parmN))
|
|
#define va_arg(ap, type) ((type *)(ap += sizeof (type)))[-1]
|
|
#define va_end(ap) /* do nothing */
|
|
|
|
|
|
#endif
|