summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-10 11:26:05 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-10 11:26:05 +0200
commitc5351f58bcf494a56ecfd17fe5e68eb3b17dac7d (patch)
treebca845c55a2a7f407a856950a6293f0759d2e391 /include
parent5382e843f651f834c1df31bd494ed0638be07960 (diff)
downloadcrawler-c5351f58bcf494a56ecfd17fe5e68eb3b17dac7d.tar.gz
crawler-c5351f58bcf494a56ecfd17fe5e68eb3b17dac7d.tar.bz2
added execution function to LuaVm
reorganized main lua.conf and calling several functions
Diffstat (limited to 'include')
-rwxr-xr-xinclude/luaglue/LuaVM.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/luaglue/LuaVM.hpp b/include/luaglue/LuaVM.hpp
index bd2fd21..8fe781b 100755
--- a/include/luaglue/LuaVM.hpp
+++ b/include/luaglue/LuaVM.hpp
@@ -14,7 +14,8 @@ class LuaVM
LUAGLUE_DLL_VISIBLE ~LuaVM( );
LUAGLUE_DLL_VISIBLE void loadSource( const char *sourceFilename );
- LUAGLUE_DLL_VISIBLE void executeMain( );
+ void executeMain( );
+ void executeFunction( const std::string &f );
LUAGLUE_DLL_VISIBLE void dumpState( );
LUAGLUE_DLL_VISIBLE void fullGarbageCollect( );