☰
Debian Codegraph
@
1.9.4-7
1.9.4-6
/
/
test-crates
/
pyo3-mixed-include-exclude
/
src
/
lib.rs
☽
☼
test-crates/pyo3-mixed-include-exclude/src/lib.rs
code
plain
raw
MIT
or
Apache-2.0
2018-2023 PyO3 Project and Contributors <https://github.com/PyO3>
debian/copyright
1
use pyo3::prelude::*;
2
3
#[pyfunction]
4
fn get_21() -> usize {
5
21
6
}
7
8
#[pymodule]
9
fn pyo3_mixed_include_exclude(m: &Bound<'_, PyModule>) -> PyResult<()> {
10
m.add_wrapped(wrap_pyfunction!(get_21))?;
11
12
Ok(())
13
}