Lutok  0.4
 All Classes Namespaces Files Functions Variables Macros
Classes | Typedefs | Variables
state.hpp File Reference

Provides the state wrapper class for the Lua C state. More...

#include <string>
#include <tr1/memory>

Go to the source code of this file.

Classes

class  lutok::state
 A RAII model for the Lua state. More...

Typedefs

typedef int(* lutok::cxx_function )(state &)
 The type of a C++ function that can be bound into Lua.

Variables

const int lutok::registry_index = LUA_REGISTRYINDEX
 Stack index constant pointing to the registry table.

Detailed Description

Provides the state wrapper class for the Lua C state.