Download include/python3.11/internal/pycore_floatobject.h from michaelu0826/phantom_env: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/include/python3.11/internal/pycore_floatobject.h
- Command line
-
hf download hf://datasets/michaelu0826/phantom_env/include/python3.11/internal/pycore_floatobject.h
-
curl -L -o pycore_floatobject.h https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/include/python3.11/internal/pycore_floatobject.h
1.31 kB
| extern "C" { | |
| /* runtime lifecycle */ | |
| extern void _PyFloat_InitState(PyInterpreterState *); | |
| extern PyStatus _PyFloat_InitTypes(PyInterpreterState *); | |
| extern void _PyFloat_Fini(PyInterpreterState *); | |
| extern void _PyFloat_FiniType(PyInterpreterState *); | |
| /* other API */ | |
| // without freelists | |
| struct _Py_float_state { | |
| /* Special free list | |
| free_list is a singly-linked list of available PyFloatObjects, | |
| linked via abuse of their ob_type members. */ | |
| int numfree; | |
| PyFloatObject *free_list; | |
| }; | |
| void _PyFloat_ExactDealloc(PyObject *op); | |
| PyAPI_FUNC(void) _PyFloat_DebugMallocStats(FILE* out); | |
| /* Format the object based on the format_spec, as defined in PEP 3101 | |
| (Advanced String Formatting). */ | |
| PyAPI_FUNC(int) _PyFloat_FormatAdvancedWriter( | |
| _PyUnicodeWriter *writer, | |
| PyObject *obj, | |
| PyObject *format_spec, | |
| Py_ssize_t start, | |
| Py_ssize_t end); | |
| } | |