continue...

This commit is contained in:
cinap_lenrek 2011-03-30 15:08:40 +00:00
parent 55613b56d7
commit 9b675a9941
42 changed files with 1941 additions and 0 deletions

11
mips/include/ape/stdarg.h Normal file
View 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 */