aboutsummaryrefslogtreecommitdiff
path: root/src/lua/common/je_lua.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/common/je_lua.h')
-rw-r--r--src/lua/common/je_lua.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lua/common/je_lua.h b/src/lua/common/je_lua.h
index 05cf917..b6fc878 100644
--- a/src/lua/common/je_lua.h
+++ b/src/lua/common/je_lua.h
@@ -26,6 +26,26 @@ namespace JinEngine
int luax_getobject(lua_State* L, SharedBase* shared);
///
+ /// Get object's reference table.
+ ///
+ void luax_getreference(lua_State* L, SharedBase* shared);
+
+ ///
+ ///
+ ///
+ bool luax_addreference(lua_State* L, SharedBase* shared, SharedBase* dep);
+
+ ///
+ ///
+ ///
+ void luax_removereference(lua_State* L, SharedBase* shared);
+
+ ///
+ ///
+ ///
+ void luax_removereference(lua_State* L, SharedBase* shared, SharedBase* dep);
+
+ ///
///
///
void luax_removeobject(lua_State* L, SharedBase* shared);