JD2022-TU1/main/extern/MoveSpace/Includes/MoveSpace.h

27 lines
533 B
C++

#ifndef MOVESPACE_V2_H
#define MOVESPACE_V2_H
#include <assert.h>
#define ASSERT_MOVESPACE(__Cond, __Msg) assert(__Cond)
namespace MSP_LIB
{
typedef signed char c8;
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned long long u64;
//function type for malloc
typedef void* (*MallocFunction)(unsigned int);
extern MallocFunction MallocFuncPtr;
//function type for free
typedef void (*FreeFunction)(void*);
extern FreeFunction FreeFuncPtr;
}
#endif //MOVESPACE_V2_H