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