From d8417b03b9c2a820d3d3be0dfa80841b4d1f4c04 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 9 Nov 2021 19:22:13 +0800 Subject: *misc --- Runtime/Lua/LuaBind/LuaBindState.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Runtime/Lua/LuaBind/LuaBindState.h') diff --git a/Runtime/Lua/LuaBind/LuaBindState.h b/Runtime/Lua/LuaBind/LuaBindState.h index 24bd092..aaad952 100644 --- a/Runtime/Lua/LuaBind/LuaBindState.h +++ b/Runtime/Lua/LuaBind/LuaBindState.h @@ -7,6 +7,7 @@ #include "LuaBindRefTable.h" #include "LuaBindGlobalState.h" #include "LuaBindTable.h" +#include "LuaBindLClass.h" namespace LuaBind { @@ -101,7 +102,8 @@ namespace LuaBind bool HasField(int idx, int name, int type); bool HasKeys(int idx); - void PushTable(INativeTable& tb); + void PushLuaObject(const ILuaClass& lc); + void PushTable(const INativeTable& tb); void PushNil(); void Push(bool value); void Push(cc8* value); -- cgit v1.1-26-g67d0