MCPcopy Create free account
hub / github.com/baldurk/renderdoc / PyFrame_GetBack

Function PyFrame_GetBack

qrenderdoc/3rdparty/pythoncapi_compat.h:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166// bpo-40421 added PyFrame_GetBack() to Python 3.9.0b1
167#if PY_VERSION_HEX < 0x030900B1 && !defined(PYPY_VERSION)
168static inline PyFrameObject* PyFrame_GetBack(PyFrameObject *frame)
169{
170 assert(frame != _Py_NULL);
171 return _Py_CAST(PyFrameObject*, Py_XNewRef(frame->f_back));
172}
173#endif
174
175#if !defined(PYPY_VERSION)

Callers 3

_PyFrame_GetBackBorrowFunction · 0.85
outstream_writeMethod · 0.85
GetCurrentGlobalHandleFunction · 0.85

Calls 1

assertFunction · 0.85

Tested by

no test coverage detected