UGDK
0.4.1
|
#include <cstdio>
#include <ugdk/script/module.h>
#include <ugdk/script/languages/lua/luawrapper.h>
#include <ugdk/script/languages/python/pythonwrapper.h>
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. | |
#define PYRAMIDWORKS_MODULES_LIST | ( | ACTION | ) |
#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), |