UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::script::lua::BaseGear Class Reference

#include <ugdk/script/languages/lua/basegear.h>

Inheritance diagram for ugdk::script::lua::BaseGear:
Collaboration diagram for ugdk::script::lua::BaseGear:

Classes

class  InternalSafeCall
 

Public Member Functions

InternalSafeCall SafeCall (lua_CFunction func)
 
Stateoperator-> ()
 
const Constant TracedCall (int nargs, int nres)
 Makes a traced call to a function. More...
 
const Constant Report (const Constant &c)
 

Protected Member Functions

 BaseGear (lua_State *L)
 
 ~BaseGear ()
 
StateL ()
 

Protected Attributes

State L_
 

Friends

class InternalSafeCall
 

Constructor & Destructor Documentation

ugdk::script::lua::BaseGear::BaseGear ( lua_State L)
inlineprotected
ugdk::script::lua::BaseGear::~BaseGear ( )
inlineprotected

Member Function Documentation

State& ugdk::script::lua::BaseGear::L ( )
inlineprotected
State* ugdk::script::lua::BaseGear::operator-> ( )
inline
const Constant ugdk::script::lua::BaseGear::Report ( const Constant c)
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]

Friends And Related Function Documentation

friend class InternalSafeCall
friend

Member Data Documentation

State ugdk::script::lua::BaseGear::L_
protected

The documentation for this class was generated from the following file: