MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / __Pyx_NewRef

Function __Pyx_NewRef

_pydevd_frame_eval/pydevd_frame_evaluator.c:1256–1263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1254#define __Pyx_PyUnicode_FromOrdinal(o) PyUnicode_FromOrdinal((int)o)
1255#define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode
1256static CYTHON_INLINE PyObject *__Pyx_NewRef(PyObject *obj) {
1257#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030a0000 || defined(Py_NewRef)
1258 return Py_NewRef(obj);
1259#else
1260 Py_INCREF(obj);
1261 return obj;
1262#endif
1263}
1264static CYTHON_INLINE PyObject *__Pyx_XNewRef(PyObject *obj) {
1265#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030a0000 || defined(Py_XNewRef)
1266 return Py_XNewRef(obj);

Calls

no outgoing calls

Tested by

no test coverage detected