mirror of
https://github.com/cheat-engine/cheat-engine
synced 2026-08-15 02:26:08 -04:00
13 lines
333 B
C
13 lines
333 B
C
|
|
//stdarg.h
|
||
|
|
#ifndef __STDARG_H
|
||
|
|
#define __STDARG_H
|
||
|
|
// *fix 1.2.3b va_list is now char* for compatibility,
|
||
|
|
// and the args are at increasing addresses (was broken by stack direction change)
|
||
|
|
typedef char *va_list;
|
||
|
|
#define va_start(ap,p) ap = (char*)&p + 4
|
||
|
|
#define va_arg(ap,T) *((T*&)ap)++
|
||
|
|
#define va_end(ap)
|
||
|
|
#endif
|
||
|
|
|
||
|
|
|