From c5351f58bcf494a56ecfd17fe5e68eb3b17dac7d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 10 Oct 2014 11:26:05 +0200 Subject: added execution function to LuaVm reorganized main lua.conf and calling several functions --- include/luaglue/LuaVM.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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( ); -- cgit v1.2.3-54-g00ecf