GBDK 2020 Docs
4.1.1
API Documentation for GBDK 2020
Main Page
Related Pages
C modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
b
d
f
h
j
l
n
o
p
s
t
w
x
y
Variables
b
d
f
h
j
l
n
o
p
s
t
w
x
y
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
p
q
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
h
i
k
l
n
o
p
r
s
t
v
w
Typedefs
b
c
d
f
i
j
l
m
o
p
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
Modules
Pages
stdarg.h
Go to the documentation of this file.
1
#ifndef ASM_Z80_STDARG_INCLUDE
2
#define ASM_Z80_STDARG_INCLUDE
3
4
/* sdcc pushes right to left with the real sizes, not cast up
5
to an int.
6
so printf(int, char, long)
7
results in push long, push char, push int
8
On the z80 the stack grows down, so the things seem to be in
9
the correct order.
10
*/
11
12
typedef
unsigned
char
*
va_list
;
13
#define va_start(list, last) list = (unsigned char *)&last + sizeof(last)
14
#define va_arg(list, type) *((type *)((list += sizeof(type)) - sizeof(type)))
15
16
#define va_end(list)
17
18
#endif
va_list
unsigned char * va_list
Definition:
stdarg.h:12