33 #ifndef __H__UG_lua_shell
34 #define __H__UG_lua_shell
58 void run(
const char* buffer);
63 void set(
const char* name, TVal value)
69 void set(
const char* name,
void* pval,
const char* className);
70 void set(
const char* name,
const void* pval,
const char* className);
80 UG_THROW(
"LuaShell error: Couldn't convert " << name <<
" to requested type.");
Definition: lua_shell.h:51
lua_State * m_luaState
Definition: lua_shell.h:89
TVal get_val(const char *name)
Definition: lua_shell.h:75
void parse_file(const char *filename)
Definition: lua_shell.cpp:71
void run(const char *buffer)
Definition: lua_shell.cpp:80
LuaShell()
Definition: lua_shell.cpp:60
void abort_run(const char *message)
Definition: lua_shell.cpp:112
void set(const char *name, TVal value)
Definition: lua_shell.h:63
void init_lua_state()
Definition: lua_shell.cpp:141
void reset()
Definition: lua_shell.cpp:65
struct lua_State lua_State