Searched refs:capsule (Results 1 – 2 of 2) sorted by relevance
6 PyObject *capi = NULL, *capsule = NULL; void *p = NULL; in Cython_ImportFunction() local10 capsule = PyDict_GetItemString(capi, (char *)funcname); in Cython_ImportFunction()11 if (!capsule) { in Cython_ImportFunction()18 if (PyCObject_Check(capsule)) { in Cython_ImportFunction()20 desc = (const char *)PyCObject_GetDesc(capsule); in Cython_ImportFunction()32 p = PyCObject_AsVoidPtr(capsule); in Cython_ImportFunction()36 if (PyCapsule_CheckExact(capsule)) { in Cython_ImportFunction()37 if (!PyCapsule_IsValid(capsule, signature)) { in Cython_ImportFunction()38 const char *desc = PyCapsule_GetName(capsule); in Cython_ImportFunction()45 p = PyCapsule_GetPointer(capsule, signature); in Cython_ImportFunction()
66 # we do not call a used capsule's deleter