Attribute Macro pyo3::proc_macro::pymodule [−][src]
#[pymodule]
Expand description
Internally, this proc macro create a new c function called PyInit_{my_module}
that then calls the init function you provided
#[pymodule]
Internally, this proc macro create a new c function called PyInit_{my_module}
that then calls the init function you provided