summaryrefslogtreecommitdiff
path: root/tolua/src/tests/tconstant.h
blob: 917ad0a68948c3812111f6f3004edfc491ac337a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#define FIRST 1
#define SECOND 2

enum {
	ONE = 1,
	TWO = 2
};

#define M_FIRST 1
#define M_SECOND 2

enum {
	M_ONE = 1,
	M_TWO = 2
};

class A {
public:

 #define FIRST 1
 #define SECOND 2

 enum {
	 ONE = 1,
	 TWO = 2
 };
};