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

Function PyFrozenSet_Check

python3-sys/src/setobject.rs:19–22  ·  view source on GitHub ↗
(ob: *mut PyObject)

Source from the content-addressed store, hash-verified

17
18#[inline]
19pub unsafe fn PyFrozenSet_Check(ob: *mut PyObject) -> c_int {
20 (Py_TYPE(ob) == &mut PyFrozenSet_Type
21 || PyType_IsSubtype(Py_TYPE(ob), &mut PyFrozenSet_Type) != 0) as c_int
22}
23
24#[inline]
25pub 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