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

Function PyByteArray_CheckExact

python27-sys/src/bytearrayobject.rs:31–34  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

29}
30
31pub unsafe fn PyByteArray_CheckExact(op: *mut PyObject) -> c_int {
32 let u: *mut PyTypeObject = &mut PyByteArray_Type;
33 (Py_TYPE(op) == u) as c_int
34}
35
36#[cfg_attr(windows, link(name = "pythonXY"))]
37extern "C" {

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected