Download cpython_2/environment/repo/Include/boolobject.h from lolbench26/LoLBench: direct link, hf CLI and curl.
- Browser
- Download file 885 Bytes
-
https://huggingface.co/datasets/lolbench26/LoLBench/resolve/main/cpython_2/environment/repo/Include/boolobject.h
- Command line
-
hf download hf://datasets/lolbench26/LoLBench/cpython_2/environment/repo/Include/boolobject.h
-
curl -L -o boolobject.h https://huggingface.co/datasets/lolbench26/LoLBench/resolve/main/cpython_2/environment/repo/Include/boolobject.h
885 Bytes
| /* Boolean object interface */ | |
| extern "C" { | |
| PyAPI_DATA(PyTypeObject) PyBool_Type; | |
| /* Py_False and Py_True are the only two bools in existence. | |
| Don't forget to apply Py_INCREF() when returning either!!! */ | |
| /* Don't use these directly */ | |
| PyAPI_DATA(struct _longobject) _Py_FalseStruct, _Py_TrueStruct; | |
| /* Use these macros */ | |
| /* Macros for returning Py_True or Py_False, respectively */ | |
| /* Function to return a bool from a C long */ | |
| PyAPI_FUNC(PyObject *) PyBool_FromLong(long); | |
| } | |