☰
Debian Codegraph
@
1.9.4-7
1.9.4-6
/
/
test-crates
/
pyo3-no-extension-module
/
src
/
lib.rs
☽
☼
test-crates/pyo3-no-extension-module/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::ffi::{PyDict_New, PyObject};
2
3
#[no_mangle]
4
#[allow(non_snake_case)]
5
pub unsafe extern "C" fn PyInit_pyo3_pure() -> *mut PyObject {
6
PyDict_New() // Make sure an ffi function is used
7
}