Go to the source code of this file.
◆ PY_APPEND_INIT
#define PY_APPEND_INIT |
( |
|
module | ) |
PyImport_AppendInittab("." #module, PyInit_ ## module) |
◆ PY_IMPORT
#define PY_IMPORT |
( |
|
module | ) |
|
Value:{ \
PyObject* var_ ## module = PyInit_ ## module(); \
PyDict_SetItemString(PyImport_GetModuleDict(), "." #module,var_ ## module); \
Py_DECREF(var_ ## module); }
Definition at line 5 of file pvincubatorpythonmodules.h.
◆ PY_APPEND_INIT_OR_IMPORT
#define PY_APPEND_INIT_OR_IMPORT |
( |
|
module, |
|
|
|
do_import |
|
) |
| if (do_import) { PY_IMPORT(module); } else { PY_APPEND_INIT(module); } |
◆ pvincubatorpythonmodules_load()
static void pvincubatorpythonmodules_load |
( |
| ) |
|
|
static |