mirror of
https://github.com/pret/pmd-sky.git
synced 2026-03-21 17:25:15 -05:00
26 lines
510 B
C
26 lines
510 B
C
#ifndef MSL_STDARG_H
|
|
#define MSL_STDARG_H
|
|
|
|
// from the heartgold decomp
|
|
|
|
#include <ansi_params.h>
|
|
|
|
_MSL_BEGIN_NAMESPACE_STD
|
|
_MSL_BEGIN_EXTERN_C
|
|
|
|
#ifndef _MSL_VA_LIST_TYPE
|
|
#define _MSL_VA_LIST_TYPE char*
|
|
#endif //_MSL_VA_LIST_TYPE
|
|
#ifndef _MSL_VA_LIST_DEFINED
|
|
typedef _MSL_VA_LIST_TYPE va_list;
|
|
#define _MSL_VA_LIST_DEFINED
|
|
#endif
|
|
|
|
#define va_start(list, arg) ({ list = (va_list)(((u32)&(arg) & ~3) + 4); })
|
|
#define va_end(list) ((void)0)
|
|
|
|
_MSL_END_EXTERN_C
|
|
_MSL_END_NAMESPACE_STD
|
|
|
|
#endif //MSL_STDARG_H
|