diff options
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 |