MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / PyCObject_Check

Function PyCObject_Check

python27-sys/src/cobject.rs:11–13  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

9
10#[inline(always)]
11pub unsafe fn PyCObject_Check(op: *mut PyObject) -> c_int {
12 (Py_TYPE(op) == &mut PyCObject_Type) as c_int
13}
14
15#[cfg_attr(windows, link(name = "pythonXY"))]
16extern "C" {

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected