continue...
This commit is contained in:
parent
55613b56d7
commit
9b675a9941
42 changed files with 1941 additions and 0 deletions
11
mips/include/ape/stdarg.h
Normal file
11
mips/include/ape/stdarg.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef __STDARG
|
||||
#define __STDARG
|
||||
|
||||
typedef char *va_list;
|
||||
|
||||
#define va_start(list, start) list = (char *)(&(start)+1)
|
||||
#define va_end(list)
|
||||
#define va_arg(list, mode) (sizeof(mode)==1 ? ((mode *) (list += 4))[-4] : \
|
||||
sizeof(mode)==2 ? ((mode *) (list += 4))[-2] : ((mode *) (list += sizeof(mode)))[-1])
|
||||
|
||||
#endif /* __STDARG */
|
Loading…
Add table
Add a link
Reference in a new issue