MCPcopy Index your code
hub / github.com/dgrunwald/rust-cpython / PyTuple_GET_SIZE

Function PyTuple_GET_SIZE

python27-sys/src/tupleobject.rs:45–47  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

43
44#[inline(always)]
45pub unsafe fn PyTuple_GET_SIZE(op: *mut PyObject) -> Py_ssize_t {
46 Py_SIZE(op)
47}
48
49/// Macro, *only* to be used to fill in brand new tuples
50#[inline(always)]

Callers 2

PySequence_Fast_GET_SIZEFunction · 0.70
PyCode_GetNumFreeFunction · 0.70

Calls 1

Py_SIZEFunction · 0.70

Tested by

no test coverage detected