2020-12-05 20:20:41 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_RUNTIME_VALIST_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_RUNTIME_VALIST_H_
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2020-12-28 01:05:03 +00:00
|
|
|
struct __va_list {
|
2020-12-19 19:21:04 +00:00
|
|
|
uint32_t gp_offset;
|
|
|
|
uint32_t fp_offset;
|
2020-12-05 20:20:41 +00:00
|
|
|
void *overflow_arg_area;
|
|
|
|
void *reg_save_area;
|
|
|
|
};
|
|
|
|
|
2020-12-28 01:05:03 +00:00
|
|
|
void *__va_arg(struct __va_list *, size_t, unsigned, unsigned);
|
2020-12-05 20:20:41 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_RUNTIME_VALIST_H_ */
|