23 #include "pybind11/pybind11.h" 45 PyObject* mod = PyImport_ImportModule(name.
c_str());
Base class that defines an interface for importing Python modules.
void installPythonModuleImporter()
A base class for image defects.
static ModuleImporter const * get()
Mechanism for safely importing Python modules from C++; should not be included except by its own impl...
friend void installPythonModuleImporter()
virtual bool _import(std::string const &name) const
PYBIND11_MODULE(threads, mod)