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

Function PyFrozenSet_CheckExact

python27-sys/src/setobject.rs:17–20  ·  view source on GitHub ↗
(ob: *mut PyObject)

Source from the content-addressed store, hash-verified

15
16#[inline]
17pub unsafe fn PyFrozenSet_CheckExact(ob: *mut PyObject) -> c_int {
18 let f: *mut PyTypeObject = &mut PyFrozenSet_Type;
19 (Py_TYPE(ob) == f) as c_int
20}
21
22#[inline]
23pub unsafe fn PyAnySet_CheckExact(ob: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected