Searched refs:ob_ref (Results 1 – 2 of 2) sorted by relevance
14 op->ob_ref = obj; in PyCell_New()59 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()82 Py_XDECREF(op->ob_ref); in cell_dealloc()98 a = ((PyCellObject *)a)->ob_ref; in cell_richcompare()99 b = ((PyCellObject *)b)->ob_ref; in cell_richcompare()109 if (op->ob_ref == NULL) in cell_repr()113 op, Py_TYPE(op->ob_ref)->tp_name, in cell_repr()114 op->ob_ref); in cell_repr()120 Py_VISIT(op->ob_ref); in cell_traverse()127 Py_CLEAR(op->ob_ref); in cell_clear()[all …]
11 PyObject *ob_ref; /* Content of the cell or NULL when empty */ member22 #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)23 #define PyCell_SET(op, v) ((void)(((PyCellObject *)(op))->ob_ref = v))