00001 /*************************************************************************** 00002 stdarg.h - description 00003 ------------------- 00004 begin : Sat Dec 13 2003 00005 copyright : (C) 2003 by Dynacube Team 00006 email : mdshah82@yahoo.com 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef __STDARG_H 00019 #define __STDARG_H 00020 00021 typedef char *va_list; 00022 #define va_start(ap, p) (ap = (char *) (&(p)+1)) 00023 #define va_arg(ap, type) ((type *) (ap += sizeof(type)))[-1] 00024 #define va_end(ap) 00025 00026 #endif 00027
1.4.7