diff options
author | chai <chaifix@163.com> | 2019-03-19 23:06:27 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-19 23:06:27 +0800 |
commit | 1497dccd63a84b7ee2b229b1ad9c5c02718f2a78 (patch) | |
tree | f8d1bff50da13e126d08c7345653e002e293202d /source/3rd-party/Luax/luax_enum.h | |
parent | 5e2a973516e0729b225da9de0b03015dc5854ac4 (diff) |
*rename
Diffstat (limited to 'source/3rd-party/Luax/luax_enum.h')
-rw-r--r-- | source/3rd-party/Luax/luax_enum.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/source/3rd-party/Luax/luax_enum.h b/source/3rd-party/Luax/luax_enum.h new file mode 100644 index 0000000..36f6bab --- /dev/null +++ b/source/3rd-party/Luax/luax_enum.h @@ -0,0 +1,38 @@ +#ifndef __LUAX_ENUM_H__ +#define __LUAX_ENUM_H__ + +#include "luax_config.h" + +namespace Luax +{ + + /// + /// ö٣öһͼϣöٵֵ + /// + struct LuaxEnum + { + cc8* name; + int value; + }; + + extern int l_rmt__index(lua_State* L); + + extern int l_rmt__newindex(lua_State* L); + + //-------------------------------------------------------------------------------------------------------------- +#if LUAX_ENABLE_PLAIN_ENABLE + /// + /// luaö٣ĵtable + /// + class LuaxPlainEnum + { + public: + + static int registry(lua_State* L); + + }; +#endif + +} + +#endif
\ No newline at end of file |