![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Include dependency graph for pybindings.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | shambindings::init_lib (py::module &m) |
| Init python bindings and register them to Python API. | |
| void | shambindings::init_embed (py::module &m, bool hook_stdout=true) |
| Init python bindings and register them to Python API. | |
| void | shambindings::expect_init_lib (SourceLocation loc=SourceLocation{}) |
| Expect python bindings to be initialized as lib mode, throws if not. | |
| void | shambindings::expect_init_embed (SourceLocation loc=SourceLocation{}) |
| Expect python bindings to be initialized as embed mode, throws if not. | |
Definition in file pybindings.hpp.
| void shambindings::expect_init_embed | ( | SourceLocation | loc = SourceLocation{} | ) |
Expect python bindings to be initialized as embed mode, throws if not.
Definition at line 166 of file pybindings.cpp.
Here is the call graph for this function:| void shambindings::expect_init_lib | ( | SourceLocation | loc = SourceLocation{} | ) |
Expect python bindings to be initialized as lib mode, throws if not.
Definition at line 156 of file pybindings.cpp.
Here is the call graph for this function:| void shambindings::init_embed | ( | py::module & | m, |
| bool | hook_stdout = true |
||
| ) |
Init python bindings and register them to Python API.
| m | the python module to bind definitions on |
| hook_stdout | if true, sys.stdout and sys.stderr will be hooked |
Definition at line 148 of file pybindings.cpp.
Here is the call graph for this function:| void shambindings::init_lib | ( | py::module & | m | ) |
Init python bindings and register them to Python API.
| m | the python module to bind definitions on |
Definition at line 146 of file pybindings.cpp.
Here is the call graph for this function: