liberis
stdarg.h
Go to the documentation of this file.
00001 /*
00002         liberis -- A set of libraries for controlling the NEC PC-FX
00003 
00004 Copyright (C) 2011              Alex Marshall "trap15" <trap15@raidenii.net>
00005 
00006 # This code is licensed to you under the terms of the MIT license;
00007 # see file LICENSE or http://www.opensource.org/licenses/mit-license.php
00008 */
00009 
00014 #ifndef _STDARG_H_
00015 #define _STDARG_H_
00016 
00017 #ifndef _VA_LIST
00018 #define _VA_LIST
00019 typedef char *va_list;
00020 #endif
00021 
00022 #define va_start(list, start) ((void)((list) = (sizeof(start)<4 ? \
00023                                 (char *)((int *)&(start)+1) : (char *)(&(start)+1))))
00024 #define va_end(list) ((void)0)
00025 #define va_arg(list, mode) *(mode *)(&(list = (char*)(((int)list + 7)&~3U))[-4])
00026 
00027 #endif
00028 
 All Files Functions Typedefs Enumerations Enumerator Defines