Files
Yanis c98c03de39 Match MSL_C (#8)
* match wstring.c

* match math_api.c, mbstring.c, mem.c and mem_funcs.c

* more progress

* build issues

* fix non-matching issues

* reorganise files

* match fdlibm (+ libc progress)

* fix jp build

* solved some non-matchings and progress

* removed types.h usage in libc

* match data and add missing delinks for jp
2025-12-17 14:08:53 +01:00

23 lines
547 B
C

#ifndef _C_STDARG_H
#define _C_STDARG_H
#ifdef __cplusplus
extern "C" {
#endif
typedef char *va_list;
#define __fourbytealign(n) ((((unsigned int) (n)) + 3U) & ~3U)
#define __va_start(parm) ((va_list) ((char *) ((unsigned int) (&parm) & ~3U) + __fourbytealign(sizeof(parm))))
#define va_start(ap, parm) ((ap) = __va_start(parm))
#define va_arg(ap, type) (*(type *) ((ap += __fourbytealign(sizeof(type))) - __fourbytealign(sizeof(type))))
#define va_end(ap) ((void) 0)
#define va_copy(dest, src) dest = src
#ifdef __cplusplus
}
#endif
#endif