diff options
Diffstat (limited to 'ThirdParty/tolua-5.2.4/src/tests/tconstant.pkg')
-rw-r--r-- | ThirdParty/tolua-5.2.4/src/tests/tconstant.pkg | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ThirdParty/tolua-5.2.4/src/tests/tconstant.pkg b/ThirdParty/tolua-5.2.4/src/tests/tconstant.pkg new file mode 100644 index 0000000..ada3390 --- /dev/null +++ b/ThirdParty/tolua-5.2.4/src/tests/tconstant.pkg @@ -0,0 +1,34 @@ +$#include "tconstant.h" + +#define FIRST 1 +#define SECOND 2 + +enum { + ONE = 1, + TWO = 2 +}; + +module M { + +#define M_FIRST@FIRST 1 +#define M_SECOND@SECOND 2 + +enum { + M_ONE@ONE = 1, + M_TWO@TWO = 2 +}; +} + +class A { +public: + + #define FIRST 1 + #define SECOND 2 + + enum { + ONE = 1, + TWO = 2 + }; +}; + + |