Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Macros | Typedefs
stdarg.h File Reference
#include <ultra64.h>

Go to the source code of this file.

Macros

#define _FP   1
 
#define _INT   0
 
#define _STRUCT   2
 
#define _VA_FP_SAVE_AREA   0x10
 
#define _VA_ALIGN(p, a)   (((unsigned int)(((char *)p) + ((a) > 4 ? (a) : 4) - 1)) & -((a) > 4 ? (a) : 4))
 
#define va_start(vp, parmN)   (vp = ((va_list)&parmN + sizeof(parmN)))
 
#define __va_stack_arg(list, mode)
 
#define __va_double_arg(list, mode)
 
#define va_arg(list, mode)
 
#define va_end(__list)
 

Typedefs

typedef charva_list
 

Macro Definition Documentation

◆ __va_double_arg

#define __va_double_arg (   list,
  mode 
)
Value:
( \
(((long)list & 0x1) /* 1 byte aligned? */ \
? (list = (char *)((long)list + 7), (char *)((long)list - 6 - _VA_FP_SAVE_AREA)) \
: (((long)list & 0x2) /* 2 byte aligned? */ \
? (list = (char *)((long)list + 10), (char *)((long)list - 24 - _VA_FP_SAVE_AREA)) \
: __va_stack_arg(list, mode))))
#define __va_stack_arg(list, mode)
Definition: stdarg.h:24
corresponding parameters shall have compatible types If one type has a parameter type list and the other type is specified by a function declarator that is not part of a function definition and contains an empty identifier list
Definition: err.english.cc:617
#define _VA_FP_SAVE_AREA
Definition: stdarg.h:20

◆ __va_stack_arg

#define __va_stack_arg (   list,
  mode 
)
Value:
( \
((list) = (char *)_VA_ALIGN(list, __builtin_alignof(mode)) + \
_VA_ALIGN(sizeof(mode), 4)), \
(((char *)list) - (_VA_ALIGN(sizeof(mode), 4) - sizeof(mode))))
#define _VA_ALIGN(p, a)
Definition: stdarg.h:21
corresponding parameters shall have compatible types If one type has a parameter type list and the other type is specified by a function declarator that is not part of a function definition and contains an empty identifier list
Definition: err.english.cc:617

◆ _FP

#define _FP   1

◆ _INT

#define _INT   0

◆ _STRUCT

#define _STRUCT   2

◆ _VA_ALIGN

#define _VA_ALIGN (   p,
  a 
)    (((unsigned int)(((char *)p) + ((a) > 4 ? (a) : 4) - 1)) & -((a) > 4 ? (a) : 4))

◆ _VA_FP_SAVE_AREA

#define _VA_FP_SAVE_AREA   0x10

◆ va_arg

#define va_arg (   list,
  mode 
)
Value:
((mode *)(((__builtin_classof(mode) == _FP && \
__builtin_alignof(mode) == sizeof(double)) \
? __va_double_arg(list, mode) \
: __va_stack_arg(list, mode))))[-1]
#define _FP
Definition: stdarg.h:16
#define __va_stack_arg(list, mode)
Definition: stdarg.h:24
corresponding parameters shall have compatible types If one type has a parameter type list and the other type is specified by a function declarator that is not part of a function definition and contains an empty identifier list
Definition: err.english.cc:617
#define __va_double_arg(list, mode)
Definition: stdarg.h:30

◆ va_end

#define va_end (   __list)

◆ va_start

#define va_start (   vp,
  parmN 
)    (vp = ((va_list)&parmN + sizeof(parmN)))

Typedef Documentation

◆ va_list