summaryrefslogtreecommitdiff
path: root/include/luaglue
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-05 21:59:17 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-05 21:59:17 +0200
commitcc6e599a52b3a062e62eb1a225c603f105e95f04 (patch)
tree468c13628ef77c1bd5194eaba142db90c54ea0f7 /include/luaglue
parentb577b7119aa1f57c4db7fd254c2b5b197e7451d2 (diff)
downloadcrawler-cc6e599a52b3a062e62eb1a225c603f105e95f04.tar.gz
crawler-cc6e599a52b3a062e62eb1a225c603f105e95f04.tar.bz2
added userdata to destroy function, remembering userdata on module
initialization and passing it to destroy function in principle the system works, a dlopen of the lua module removes necessary functions needed during lua VM shutdown, this is due to stack unwinding and the order objects are destroyed (should be fixable)
Diffstat (limited to 'include/luaglue')
-rwxr-xr-xinclude/luaglue/LuaVM.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/luaglue/LuaVM.hpp b/include/luaglue/LuaVM.hpp
index f25cc3e..baa5bca 100755
--- a/include/luaglue/LuaVM.hpp
+++ b/include/luaglue/LuaVM.hpp
@@ -14,6 +14,7 @@ class LuaVM
void loadSource( const char *sourceFilename );
void executeMain( );
void dumpState( );
+ void fullGarbageCollect( );
lua_State *handle( );