UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
defs.h File Reference
#include <list>
#include <map>
Include dependency graph for defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ugdk
 
 ugdk::script
 
 ugdk::script::lua
 

Macros

#define LUA_INIT_FUNCTION_NAME(name)   luaopen_##name
 
#define LUA_INIT_FUNCTION_SIGNATURE(name)   int LUA_INIT_FUNCTION_NAME(name)(lua_State*)
 
#define LUA_MODULE_NAME(name)   ugdk::script::lua::NameConversion(#name)
 
#define LUA_NAMESPACE   ::ugdk::script::lua
 

Typedefs

typedef struct lua_State lua_State
 
typedef int(* lua_CFunction )(lua_State *)
 
typedef int ugdk::script::lua::DataID
 
typedef std::list< DataID > ugdk::script::lua::DataBuffer
 
typedef std::map< DataID, DataID > ugdk::script::lua::DataMap
 
typedef void * ugdk::script::lua::UData
 
typedef lua_CFunction ugdk::script::lua::inittype
 

Functions

template<class T >
UData ugdk::script::lua::AsUData (T *p)
 
template<class T >
UData ugdk::script::lua::AsUData (const T *p)
 

Macro Definition Documentation

#define LUA_INIT_FUNCTION_NAME (   name)    luaopen_##name
#define LUA_INIT_FUNCTION_SIGNATURE (   name)    int LUA_INIT_FUNCTION_NAME(name)(lua_State*)
#define LUA_MODULE_NAME (   name)    ugdk::script::lua::NameConversion(#name)
#define LUA_NAMESPACE   ::ugdk::script::lua

Typedef Documentation

typedef int(* lua_CFunction)(lua_State *)
typedef struct lua_State lua_State