mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
Added va_copy
git-svn-id: svn://svn.cc65.org/cc65/trunk@190 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
fa41731700
commit
b841f794cf
@ -16,6 +16,7 @@ typedef unsigned char* va_list;
|
||||
|
||||
#define va_start(ap, fix) ap = (va_list)&fix + *(((va_list)&fix)-1) - __fixargs__
|
||||
#define va_arg(ap,type) ((type)*(ap -= ((sizeof (type) + 1) & ~1)))
|
||||
#define va_copy(dest, src) ((dest)=(src))
|
||||
#define va_end(ap)
|
||||
|
||||
/* This is only valid *before* the first call to va_arg. It will also work
|
||||
|
Loading…
Reference in New Issue
Block a user