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

Function PyThread_tss_alloc

eval/CIPO_evaluation/pycocotools/_mask.c:388–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386 return 0;
387}
388static CYTHON_INLINE Py_tss_t * PyThread_tss_alloc(void) {
389 Py_tss_t *key = (Py_tss_t *)PyObject_Malloc(sizeof(Py_tss_t));
390 *key = Py_tss_NEEDS_INIT;
391 return key;
392}
393static CYTHON_INLINE void PyThread_tss_free(Py_tss_t *key) {
394 PyObject_Free(key);
395}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected