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

Function PyByteArray_Check

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

Source from the content-addressed store, hash-verified

25}
26
27pub unsafe fn PyByteArray_Check(op: *mut PyObject) -> c_int {
28 PyObject_TypeCheck(op, &mut PyByteArray_Type)
29}
30
31pub unsafe fn PyByteArray_CheckExact(op: *mut PyObject) -> c_int {
32 let u: *mut PyTypeObject = &mut PyByteArray_Type;

Callers

nothing calls this directly

Calls 1

PyObject_TypeCheckFunction · 0.70

Tested by

no test coverage detected