From 5e2a973516e0729b225da9de0b03015dc5854ac4 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 18 Mar 2019 08:49:16 +0800 Subject: *luax --- Source/3rdParty/Luax/luax_state.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/3rdParty/Luax/luax_state.h') diff --git a/Source/3rdParty/Luax/luax_state.h b/Source/3rdParty/Luax/luax_state.h index 71e2c5c..8c5b8d6 100644 --- a/Source/3rdParty/Luax/luax_state.h +++ b/Source/3rdParty/Luax/luax_state.h @@ -168,15 +168,19 @@ namespace Luax /// void RegisterLib(cc8* libname, const luaL_Reg* l); +#ifdef LUAX_ENABLE_PLAIN_CLASS /// /// 注册纯lua类的注册函数,用来创建纯lua类。 /// void RegisterPlainClassRegistry(cc8* name); +#endif +#ifdef LUAX_ENABLE_PLAIN_ENABLE /// /// 注册纯lua的枚举,以防止修改枚举值。 /// void RegisterPlainEnumRegistry(cc8* name); +#endif //------------------------------------------------------------------------------------------------------------ -- cgit v1.1-26-g67d0