UGDK
|
#include <basegear.h>
Classes | |
class | InternalSafeCall |
Public Member Functions | |
InternalSafeCall | SafeCall (lua_CFunction func) |
State * | operator-> () |
const Constant | TracedCall (int nargs, int nres) |
Makes a traced call to a function. | |
const Constant | Report (const Constant &c) |
Protected: | |
Protected Member Functions | |
BaseGear (lua_State *L) | |
~BaseGear () | |
State & | L () |
Protected Attributes | |
State | L_ |
Friends | |
class | InternalSafeCall |
ugdk::script::lua::BaseGear::BaseGear | ( | lua_State * | L | ) | [inline, protected] |
ugdk::script::lua::BaseGear::~BaseGear | ( | ) | [inline, protected] |
State& ugdk::script::lua::BaseGear::L | ( | ) | [inline, protected] |
State* ugdk::script::lua::BaseGear::operator-> | ( | ) | [inline] |
const Constant ugdk::script::lua::BaseGear::Report | ( | const Constant & | c | ) |
Protected:
InternalSafeCall ugdk::script::lua::BaseGear::SafeCall | ( | lua_CFunction | func | ) | [inline] |
const Constant ugdk::script::lua::BaseGear::TracedCall | ( | int | nargs, |
int | nres | ||
) |
Makes a traced call to a function.
Behaves exactly like lua_pcall, with the usual traceback function from Lua.
[-(nargs+1),+(nres|0),e]
friend class InternalSafeCall [friend] |
State ugdk::script::lua::BaseGear::L_ [protected] |