MCPcopy Index your code
hub / github.com/dgrunwald/rust-cpython / PyWeakref_CheckRef

Function PyWeakref_CheckRef

python27-sys/src/weakrefobject.rs:30–32  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

28
29#[inline(always)]
30pub unsafe fn PyWeakref_CheckRef(op: *mut PyObject) -> c_int {
31 PyObject_TypeCheck(op, &mut _PyWeakref_RefType)
32}
33
34#[inline(always)]
35pub unsafe fn PyWeakref_CheckRefExact(op: *mut PyObject) -> c_int {

Callers 1

PyWeakref_CheckFunction · 0.70

Calls 1

PyObject_TypeCheckFunction · 0.70

Tested by

no test coverage detected