Spaces:
Sleeping
Sleeping
Download venv/include/python3.12/cpython/cellobject.h from Pawan2605/DeepSearch_Agent: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/spaces/Pawan2605/DeepSearch_Agent/resolve/main/venv/include/python3.12/cpython/cellobject.h
- Command line
-
hf download hf://spaces/Pawan2605/DeepSearch_Agent/venv/include/python3.12/cpython/cellobject.h
-
curl -L -o cellobject.h https://huggingface.co/spaces/Pawan2605/DeepSearch_Agent/resolve/main/venv/include/python3.12/cpython/cellobject.h
1.08 kB
| /* Cell object interface */ | |
| extern "C" { | |
| typedef struct { | |
| PyObject_HEAD | |
| /* Content of the cell or NULL when empty */ | |
| PyObject *ob_ref; | |
| } PyCellObject; | |
| PyAPI_DATA(PyTypeObject) PyCell_Type; | |
| PyAPI_FUNC(PyObject *) PyCell_New(PyObject *); | |
| PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *); | |
| PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *); | |
| static inline PyObject* PyCell_GET(PyObject *op) { | |
| PyCellObject *cell; | |
| assert(PyCell_Check(op)); | |
| cell = _Py_CAST(PyCellObject*, op); | |
| return cell->ob_ref; | |
| } | |
| static inline void PyCell_SET(PyObject *op, PyObject *value) { | |
| PyCellObject *cell; | |
| assert(PyCell_Check(op)); | |
| cell = _Py_CAST(PyCellObject*, op); | |
| cell->ob_ref = value; | |
| } | |
| } | |