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

Function PyByteArray_CheckExact

python3-sys/src/bytearrayobject.rs:18–20  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

16
17#[inline(always)]
18pub unsafe fn PyByteArray_CheckExact(op: *mut PyObject) -> c_int {
19 (Py_TYPE(op) == &mut PyByteArray_Type) as c_int
20}
21
22#[cfg_attr(windows, link(name = "pythonXY"))]
23extern "C" {

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected