Spaces:
Sleeping
Sleeping
Download venv/include/python3.12/boolobject.h from Pawan2605/DeepSearch_Agent: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/spaces/Pawan2605/DeepSearch_Agent/resolve/main/venv/include/python3.12/boolobject.h
- Command line
-
hf download hf://spaces/Pawan2605/DeepSearch_Agent/venv/include/python3.12/boolobject.h
-
curl -L -o boolobject.h https://huggingface.co/spaces/Pawan2605/DeepSearch_Agent/resolve/main/venv/include/python3.12/boolobject.h
1.14 kB
| /* Boolean object interface */ | |
| extern "C" { | |
| PyAPI_DATA(PyTypeObject) PyBool_Type; | |
| /* Py_False and Py_True are the only two bools in existence. */ | |
| /* Don't use these directly */ | |
| PyAPI_DATA(PyLongObject) _Py_FalseStruct; | |
| PyAPI_DATA(PyLongObject) _Py_TrueStruct; | |
| /* Use these macros */ | |
| // Test if an object is the True singleton, the same as "x is True" in Python. | |
| PyAPI_FUNC(int) Py_IsTrue(PyObject *x); | |
| // Test if an object is the False singleton, the same as "x is False" in Python. | |
| PyAPI_FUNC(int) Py_IsFalse(PyObject *x); | |
| /* Macros for returning Py_True or Py_False, respectively */ | |
| /* Function to return a bool from a C long */ | |
| PyAPI_FUNC(PyObject *) PyBool_FromLong(long); | |
| } | |