diff options
author | chai <chaifix@163.com> | 2020-11-15 09:59:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-11-15 09:59:22 +0800 |
commit | 64f89347883d519b202711a11d2ea175bd80be37 (patch) | |
tree | 1a4a53561f49e40bc57eddb5063a4bdb8c083f44 /Runtime/Scripting/luax_enum.h | |
parent | 3bc1b7854d5a9e6bbe0d3409dac95e1b08e20a23 (diff) |
+lua binding
Diffstat (limited to 'Runtime/Scripting/luax_enum.h')
-rw-r--r-- | Runtime/Scripting/luax_enum.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/Runtime/Scripting/luax_enum.h b/Runtime/Scripting/luax_enum.h deleted file mode 100644 index 9afece2..0000000 --- a/Runtime/Scripting/luax_enum.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef __LUAX_ENUM_H__ -#define __LUAX_ENUM_H__ - -#include "luax_config.h" - -namespace Luax -{ - - /// - /// 导出枚举,枚举是一类不可修改整型集合,枚举的值在 - /// - struct LuaxEnum - { - cc8* name; - int value; - }; - - extern int _rmt__index(lua_State* L); - - extern int _rmt__newindex(lua_State* L); - - //--------------------------------------------------------------------------------// - -#if LUAX_ENABLE_PLAIN_ENUM - /// - /// 纯lua的枚举,创建不可修改的table - /// - class LuaxPlainEnum - { - public: - - static int registry(lua_State* L); - - }; -#endif - -} - -#endif
\ No newline at end of file |