UGDK  0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
modules.cc File Reference
Include dependency graph for modules.cc:

Namespaces

namespace  pyramidworks
 

Macros

#define PYRAMIDWORKS_MODULES_NUM   2
 
#define PYRAMIDWORKS_MODULES_LIST(ACTION)
 
#define PYRAMIDWORKSLUA_DECLARE_INIT(name)   extern int luaopen_pyramidworks_##name(lua_State*);
 WHAT WIZARDY IS THIS!?
 
#define PYRAMIDWORKSPYTHON_DECLARE_INIT(name)   extern void init_pyramidworks_##name(void);
 
#define PYRAMIDWORKSLUA_LIST_ITEM(name)   ugdk::script::Module<lua_CFunction>("pyramidworks."#name, luaopen_pyramidworks_##name),
 
#define PYRAMIDWORKSPYTHON_LIST_ITEM(name)   Module<PyInitFunction>("_pyramidworks_"#name, init_pyramidworks_##name),
 

Functions

void pyramidworks::RegisterLuaModules (ugdk::script::lua::LuaWrapper *wrapper)
 Loads all PYRAMIDWORKS's Lua modules using the given wrapper.
 
void pyramidworks::RegisterPythonModules (ugdk::script::python::PythonWrapper *wrapper)
 Loads all PYRAMIDWORKS's Python modules using the given wrapper.
 

Macro Definition Documentation

#define PYRAMIDWORKS_MODULES_LIST (   ACTION)
Value:
ACTION(collision) \
ACTION(geometry)
#define PYRAMIDWORKS_MODULES_NUM   2
#define PYRAMIDWORKSLUA_DECLARE_INIT (   name)    extern int luaopen_pyramidworks_##name(lua_State*);

WHAT WIZARDY IS THIS!?

#define PYRAMIDWORKSLUA_LIST_ITEM (   name)    ugdk::script::Module<lua_CFunction>("pyramidworks."#name, luaopen_pyramidworks_##name),
#define PYRAMIDWORKSPYTHON_DECLARE_INIT (   name)    extern void init_pyramidworks_##name(void);
#define PYRAMIDWORKSPYTHON_LIST_ITEM (   name)    Module<PyInitFunction>("_pyramidworks_"#name, init_pyramidworks_##name),