MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / __Pyx_PyObject_AsString

Function __Pyx_PyObject_AsString

eval/CIPO_evaluation/pycocotools/_mask.c:14975–14978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14973 return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
14974}
14975static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
14976 Py_ssize_t ignore;
14977 return __Pyx_PyObject_AsStringAndSize(o, &ignore);
14978}
14979#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
14980#if !CYTHON_PEP393_ENABLED
14981static const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected