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

Function PyObject_Length

python3-sys/src/objectabstract.rs:51–53  ·  view source on GitHub ↗
(o: *mut PyObject)

Source from the content-addressed store, hash-verified

49
50#[inline]
51pub unsafe fn PyObject_Length(o: *mut PyObject) -> Py_ssize_t {
52 PyObject_Size(o)
53}
54
55#[cfg_attr(windows, link(name = "pythonXY"))]
56extern "C" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected