Python 2.7/3.x compatible version of PyImport_AppendInittab and error checks.
More...
#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/embed.h>
Public Types | |
| using | init_t = void(*)() |
| using | init_t = PyObject *(*)() |
Public Member Functions | |
| embedded_module (const char *name, init_t init) | |
| embedded_module (const char *name, init_t init) | |
Python 2.7/3.x compatible version of PyImport_AppendInittab and error checks.
| using embedded_module::init_t = void (*)() |
| using embedded_module::init_t = PyObject *(*) () |
|
inline |
Definition at line 75 of file embed.h.
References init(), and pybind11_fail().
|
inline |
Definition at line 65 of file embed.h.
References init(), and pybind11_fail().