22namespace shambindings {
37 void init_embed(py::module &m,
bool hook_stdout =
true);
Pybind11 include and definitions.
void expect_init_embed(SourceLocation loc=SourceLocation{})
Expect python bindings to be initialized as embed mode, throws if not.
void init_embed(py::module &m, bool hook_stdout=true)
Init python bindings and register them to Python API.
void expect_init_lib(SourceLocation loc=SourceLocation{})
Expect python bindings to be initialized as lib mode, throws if not.
void init_lib(py::module &m)
Init python bindings and register them to Python API.
provide information about the source location