diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-05 21:59:17 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-05 21:59:17 +0200 |
commit | cc6e599a52b3a062e62eb1a225c603f105e95f04 (patch) | |
tree | 468c13628ef77c1bd5194eaba142db90c54ea0f7 /include/luaglue | |
parent | b577b7119aa1f57c4db7fd254c2b5b197e7451d2 (diff) | |
download | crawler-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-x | include/luaglue/LuaVM.hpp | 1 |
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( ); |