From ad2805aa839892589c13a615730da52f6e474709 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 17 Mar 2019 10:49:50 +0800 Subject: *luax --- Source/3rdParty/Luax/luax_state.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (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 2bcfd9b..fee9d8a 100644 --- a/Source/3rdParty/Luax/luax_state.h +++ b/Source/3rdParty/Luax/luax_state.h @@ -16,7 +16,7 @@ namespace Luax /// /// 对lua_State的代理,除了保存一个lua_State的引用不保存其他内容。一个实例的metatable如下: - /// interface table + /// class table /// member table /// ref table /// userdata @@ -163,6 +163,16 @@ namespace Luax /// void RegisterLib(cc8* libname, const luaL_Reg* l); + /// + /// 注册纯lua类的注册函数,用来创建纯lua类。 + /// + void RegisterPlainClassRegistry(cc8* name); + + /// + /// 注册纯lua的枚举,以防止修改枚举值。 + /// + void RegisterPlainEnumRegistry(cc8* name); + //------------------------------------------------------------------------------------------------------------ private: -- cgit v1.1-26-g67d0