Searched refs:pymem_destructor (Results 1 – 2 of 2) sorted by relevance
97 static void pymem_destructor(PyObject *ptr) in pymem_destructor() function168 errobj = PyCapsule_New(space, CTYPES_CAPSULE_NAME_PYMEM, pymem_destructor); in _ctypes_get_errobj()708 pa->keep = PyCapsule_New(pa->value.p, CTYPES_CAPSULE_NAME_PYMEM, pymem_destructor); in ConvParam()
13 static void pymem_destructor(PyObject *ptr) in pymem_destructor() function1352 keep = PyCapsule_New(buffer, CTYPES_CFIELD_CAPSULE_NAME_PYMEM, pymem_destructor); in Z_set()