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

Function _PyFrame_GetCodeBorrow

qrenderdoc/3rdparty/pythoncapi_compat.h:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156#endif
157
158static inline PyCodeObject* _PyFrame_GetCodeBorrow(PyFrameObject *frame)
159{
160 PyCodeObject *code = PyFrame_GetCode(frame);
161 Py_DECREF(code);
162 return code;
163}
164
165
166// bpo-40421 added PyFrame_GetBack() to Python 3.9.0b1

Callers

nothing calls this directly

Calls 1

PyFrame_GetCodeFunction · 0.85

Tested by

no test coverage detected