#include #include #include "LuaEngine.h" using namespace std; int main() { do { LuaVM L; InitEngine(L); cout << " Started." << endl; if (luaL_dofile(L, "code/init.lua")) { cout << lua_tostring(L, -1) << endl; } StartEngine(L); cout << " Stopped." << endl; } while (0); StopEngine(); }