Lines Matching refs:cell
9 For each such variable, a cell object is created to store the value; the local
12 accessed, the value contained in the cell is used instead of the cell object
13 itself. This de-referencing of the cell object requires support from the
20 The C structure used for cell objects.
25 The type object corresponding to cell objects.
30 Return true if *ob* is a cell object; *ob* must not be ``NULL``. This
36 Create and return a new cell object containing the value *ob*. The parameter may
40 .. c:function:: PyObject* PyCell_Get(PyObject *cell)
42 Return the contents of the cell *cell*.
45 .. c:function:: PyObject* PyCell_GET(PyObject *cell)
47 Return the contents of the cell *cell*, but without checking that *cell* is
48 non-``NULL`` and a cell object.
51 .. c:function:: int PyCell_Set(PyObject *cell, PyObject *value)
53 Set the contents of the cell object *cell* to *value*. This releases the
54 reference to any current content of the cell. *value* may be ``NULL``. *cell*
55 must be non-``NULL``; if it is not a cell object, ``-1`` will be returned. On
59 .. c:function:: void PyCell_SET(PyObject *cell, PyObject *value)
61 Sets the value of the cell object *cell* to *value*. No reference counts are
62 adjusted, and no checks are made for safety; *cell* must be non-``NULL`` and must
63 be a cell object.