mirror of
https://github.com/zeldaret/ph
synced 2026-09-03 01:54:10 -04:00
Delink ActorShopItem.cpp (#147)
* Make types compatible with dsd-ghidra typesync * Update actors.md * Update docs * Delink ActorShopItem.cpp
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
|
||||
#define assert(condition) (void) ((condition) || __assert_failed(#condition, __FILE__, __FUNCTION__, __LINE__));
|
||||
|
||||
void __assert_failed(char *condition, char *fileName, char *functionName, s32 lineNumber);
|
||||
void __assert_failed(char *condition, char *fileName, char *functionName, int lineNumber);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
#ifndef _C_STDARG_H
|
||||
#define _C_STDARG_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
typedef char *va_list;
|
||||
|
||||
#define __std(ref) ::std::ref
|
||||
@@ -11,7 +13,9 @@ typedef char *va_list;
|
||||
#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)
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#if defined(__cplusplus)
|
||||
namespace std {
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
|
||||
#define NULL 0
|
||||
|
||||
#ifdef __MWERKS__
|
||||
typedef unsigned long size_t;
|
||||
#else
|
||||
typedef unsigned int size_t;
|
||||
#endif
|
||||
|
||||
#define offsetof(type, member) ((size_t) &((type *) NULL)->member)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user