Buckets:
MisterAI/LocalAI_Demo_backends / cpu-diffusers.upgrade-tmp /python /include /python3.10 /boolobject.h
| /* 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; | |
| PyAPI_DATA(struct _longobject) _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); | |
| } | |
Xet Storage Details
- Size:
- 1.22 kB
- Xet hash:
- ea4ec2a1f4da427fc66e2029caa3c12de4c95f544b905bf073bd210f5df62289
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.