Download data/miniconda3/include/python3.13/boolobject.h from assassinlike/everything132: direct link, hf CLI and curl.
- Browser
- Download file 1.61 kB
-
https://huggingface.co/datasets/assassinlike/everything132/resolve/main/data/miniconda3/include/python3.13/boolobject.h
- Command line
-
hf download hf://datasets/assassinlike/everything132/data/miniconda3/include/python3.13/boolobject.h
-
curl -L -o boolobject.h https://huggingface.co/datasets/assassinlike/everything132/resolve/main/data/miniconda3/include/python3.13/boolobject.h
1.61 kB
| /* Boolean object interface */ | |
| extern "C" { | |
| // PyBool_Type is declared by object.h | |
| /* 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. | |
| * Only treat Py_True and Py_False as immortal in the limited C API 3.12 | |
| * and newer. */ | |
| /* Function to return a bool from a C long */ | |
| PyAPI_FUNC(PyObject *) PyBool_FromLong(long); | |
| } | |