MCPcopy Create free account
hub / github.com/PyO3/pyo3 / PyModule_CheckExact

Function PyModule_CheckExact

pyo3-ffi/src/moduleobject.rs:26–28  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

24#[inline]
25#[cfg(not(RustPython))]
26pub unsafe fn PyModule_CheckExact(op: *mut PyObject) -> c_int {
27 Py_IS_TYPE(op, &raw mut PyModule_Type)
28}
29
30extern_libpython! {
31 #[cfg(RustPython)]

Callers

nothing calls this directly

Calls 1

Py_IS_TYPEFunction · 0.85

Tested by

no test coverage detected