Buckets:
| /* 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); | |
| } | |
Xet Storage Details
- Size:
- 1.61 kB
- Xet hash:
- 6e121d9a3c8d2f47f02318cbdf60622f9b1541c8d341a01de1989390bf5c86dd
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.