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

Function PyGen_CheckExact

python27-sys/src/genobject.rs:33–35  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

31
32#[inline(always)]
33pub unsafe fn PyGen_CheckExact(op: *mut PyObject) -> c_int {
34 (Py_TYPE(op) == &mut PyGen_Type) as c_int
35}
36
37#[cfg_attr(windows, link(name = "pythonXY"))]
38extern "C" {

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected