blob: d807a9163bcaff5449207195bce681a7ad2bf14d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef __JE_MACROS_H__
#define __JE_MACROS_H__
#include <cstring>
//#define implement // ʵֽӿ
//
//#define shared // ķ
//
//#define MASK // enum
//
//#define onlyonce // ֻһ
//#define CALLONCE(call) static char __dummy__=(call, 1) // ֻһ
//#define SAFECALL(func, params) if(func) func(params)
//
//#define zero(mem) memset(&mem, 0, sizeof(mem))
#endif
|