Home
last modified time | relevance | path

Searched refs:b_objects (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Modules/_ctypes/
D_ctypes.c2658 if (self->b_objects == NULL) { in PyCData_GetContainer()
2660 self->b_objects = PyDict_New(); in PyCData_GetContainer()
2661 if (self->b_objects == NULL) in PyCData_GetContainer()
2665 self->b_objects = Py_None; in PyCData_GetContainer()
2678 return container->b_objects; in GetKeepedObjects()
2739 if (ob->b_objects == NULL || !PyDict_CheckExact(ob->b_objects)) { in KeepRef()
2740 Py_XSETREF(ob->b_objects, keep); /* refcount consumed */ in KeepRef()
2748 result = PyDict_SetItem(ob->b_objects, key, keep); in KeepRef()
2761 Py_VISIT(self->b_objects); in PyCData_traverse()
2769 Py_CLEAR(self->b_objects); in PyCData_clear()
[all …]
Dctypes.h53 PyObject *b_objects; /* dictionary of references we need to keep, or Py_None */ member
83 PyObject *b_objects; /* list of references we need to keep */ member