UGDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
ugdk::script::lua::BaseGear Class Reference

#include <basegear.h>

Inheritance diagram for ugdk::script::lua::BaseGear:
Inheritance graph
[legend]
Collaboration diagram for ugdk::script::lua::BaseGear:
Collaboration graph
[legend]

List of all members.

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.
const Constant Report (const Constant &c)
 Protected:

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) [inline, protected]
ugdk::script::lua::BaseGear::~BaseGear ( ) [inline, protected]

Member Function Documentation

State& ugdk::script::lua::BaseGear::L ( ) [inline, protected]
State* ugdk::script::lua::BaseGear::operator-> ( ) [inline]

Protected:

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines