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

Function PyWeakref_CheckRef

python3-sys/src/weakrefobject.rs:18–20  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

16
17#[inline(always)]
18pub unsafe fn PyWeakref_CheckRef(op: *mut PyObject) -> c_int {
19 PyObject_TypeCheck(op, &mut _PyWeakref_RefType)
20}
21
22#[inline(always)]
23pub 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