Classes | |
class | fwrapper |
Functions | |
int | intf_eval_formula (lua_State *) |
Evaluates a formula in the formula engine. More... | |
int | intf_compile_formula (lua_State *) |
std::string | register_metatables (lua_State *) |
Definition at line 233 of file lua_formula_bridge.cpp.
References formulaKey, lua_isstring(), lua_newuserdata(), lua_pushlightuserdata(), lua_rawget(), LUA_REGISTRYINDEX, lua_setmetatable(), lua_tostring, and luaL_typerror().
Referenced by lua_kernel_base::lua_kernel_base().
Evaluates a formula in the formula engine.
Definition at line 207 of file lua_formula_bridge.cpp.
References lua_formula_bridge::fwrapper::evaluate(), formulaKey, lua_istable, lua_touserdata(), luaL_checkstring, luaW_hasmetatable(), luaW_pushfaivariant(), and luaW_tounit().
Referenced by lua_kernel_base::lua_kernel_base(), and register_metatables().
std::string lua_formula_bridge::register_metatables | ( | lua_State * | L | ) |
Definition at line 281 of file lua_formula_bridge.cpp.
References formulaKey, impl_formula_collect(), impl_formula_tostring(), intf_eval_formula(), lua_createtable(), lua_pushcfunction, lua_pushlightuserdata(), lua_pushstring(), lua_rawset(), LUA_REGISTRYINDEX, and lua_setfield().
Referenced by lua_kernel_base::lua_kernel_base().