3#ifndef __NUITKA_COMPILED_CELL_H__
4#define __NUITKA_COMPILED_CELL_H__
10extern PyTypeObject Nuitka_Cell_Type;
12static inline bool Nuitka_Cell_Check(PyObject *
object) {
return Py_TYPE(
object) == &Nuitka_Cell_Type; }
28#ifdef __NUITKA_NO_ASSERT__
29#define Nuitka_Cell_GET(cell) (((struct Nuitka_CellObject *)(cell))->ob_ref)
31#define Nuitka_Cell_GET(cell) \
32 (CHECK_OBJECT(cell), assert(Nuitka_Cell_Check((PyObject *)cell)), (((struct Nuitka_CellObject *)(cell))->ob_ref))
36extern int count_active_Nuitka_Cell_Type;
37extern int count_allocated_Nuitka_Cell_Type;
38extern int count_released_Nuitka_Cell_Type;
41NUITKA_MAY_BE_UNUSED
static inline void Nuitka_Cell_SET(
struct Nuitka_CellObject *cell_object, PyObject *value) {
42 CHECK_OBJECT_X(value);
43 CHECK_OBJECT(cell_object);
45 assert(Nuitka_Cell_Check((PyObject *)cell_object));
46 cell_object->ob_ref = value;
Definition compiled_cell.h:14