diff options
author | chai <chaifix@163.com> | 2021-11-12 19:13:03 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-12 19:13:03 +0800 |
commit | 9b1f8214eea0c86d41f903a5feba9aac78603df1 (patch) | |
tree | e4459ce952c6059f8663bc6039c3eee2bc74c949 /Runtime/Lua/LuaBind | |
parent | bfbe1b31322030d0af6f4d010f578c0b3b3dde21 (diff) |
*misc
Diffstat (limited to 'Runtime/Lua/LuaBind')
-rw-r--r-- | Runtime/Lua/LuaBind/LuaBindLClass.h | 1 | ||||
-rw-r--r-- | Runtime/Lua/LuaBind/LuaBindTable.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Runtime/Lua/LuaBind/LuaBindLClass.h b/Runtime/Lua/LuaBind/LuaBindLClass.h index 9f4c959..296d6a1 100644 --- a/Runtime/Lua/LuaBind/LuaBindLClass.h +++ b/Runtime/Lua/LuaBind/LuaBindLClass.h @@ -10,6 +10,7 @@ namespace LuaBind {
public:
virtual void CastToLuaObject(State&) const = 0 ;
+ virtual void RestoreFromLuaObject(State& state, int index) = 0;
};
diff --git a/Runtime/Lua/LuaBind/LuaBindTable.h b/Runtime/Lua/LuaBind/LuaBindTable.h index a3822d3..b3028f8 100644 --- a/Runtime/Lua/LuaBind/LuaBindTable.h +++ b/Runtime/Lua/LuaBind/LuaBindTable.h @@ -10,6 +10,7 @@ namespace LuaBind { // 将结构转换为table并留在栈顶 virtual void CastToTable(State& state) const = 0; + virtual void RestoreFromTable(State& state, int index) = 0; }; }
\ No newline at end of file |