macro_rules! wrap_pymodule {
($module:path) => { ... };
}
Expand description
Returns a function that takes a Python
instance and returns a
Python module.
Use this together with #[pymodule]
and
PyModule::add_wrapped
.
macro_rules! wrap_pymodule {
($module:path) => { ... };
}
Returns a function that takes a Python
instance and returns a
Python module.
Use this together with #[pymodule]
and
PyModule::add_wrapped
.