From 7c8c68d79343d04be382334c15a73d079450857c Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 17 Oct 2021 23:05:01 +0800 Subject: *misc --- Runtime/Scripting/LuaBindEnum.h | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 Runtime/Scripting/LuaBindEnum.h (limited to 'Runtime/Scripting/LuaBindEnum.h') diff --git a/Runtime/Scripting/LuaBindEnum.h b/Runtime/Scripting/LuaBindEnum.h deleted file mode 100644 index dbbd2f2..0000000 --- a/Runtime/Scripting/LuaBindEnum.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef __LUA_BIND_ENUM_H__ -#define __LUA_BIND_ENUM_H__ - -#include "LuaBindConfig.h" - -namespace LuaBind -{ - - /// - /// 导出枚举,枚举是一类不可修改整型集合,枚举的值在 - /// - struct Enum - { - cc8* name; - int value; - }; - - extern int _rmt__index(lua_State* L); - - extern int _rmt__newindex(lua_State* L); - - //--------------------------------------------------------------------------------// - -#if LUA_BIND_ENABLE_PLAIN_ENUM - /// - /// 纯lua的枚举,创建不可修改的table - /// - class PlainEnum - { - public: - - static int registry(lua_State* L); - - }; -#endif - -} - -#endif \ No newline at end of file -- cgit v1.1-26-g67d0