|
sprint 1-alpha
|
#include <lua_script.h>
Public Member Functions | |
| lua_script (int feature=0) | |
| lua_State * | operator* (void) const |
| return the lua_State inner object | |
| bool | bind (const char *fun_name, lua_CFunction fun) |
| associate a fun_name with a function | |
| bool | bind (const char *lib_name, const luaL_Reg *) |
| bool | load (const char *filename) |
| load a lua script | |
| bool | import (const char *script) |
| add an additional script on an alredy open script | |
| bool | run () |
| Call GLOBAL script function. | |
| bool | call (const char *fun_name) |
| call a function | |
| bool | call (const char *fun_name, lua_Number param1) |
| call a function with 1 parameters | |
| bool | call (const char *fun_name, lua_Number param1, lua_Number param2) |
| call a function with 2 parameters | |
a lua script object
1.7.4