blob: 5f0b3b8f2510ccb8473c8d8310fe7ff3bb073cdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef __JIN_MACROS_H
#define __JIN_MACROS_H
#include <cstring>
#define implement // ʵֽӿ
#define shared // ķ
#define CallOnce(func) static char __dummy__=(func, 1) // ֻһ
#define onlyonce // ֻһ
#define zero(mem) memset(&mem, 0, sizeof(mem))
#endif
|