Download runtime/include/cpython/bytearrayobject.h from jam134/adad: direct link, hf CLI and curl.
- Browser
- Download file 789 Bytes
-
https://huggingface.co/spaces/jam134/adad/resolve/main/runtime/include/cpython/bytearrayobject.h
- Command line
-
hf download hf://spaces/jam134/adad/runtime/include/cpython/bytearrayobject.h
-
curl -L -o bytearrayobject.h https://huggingface.co/spaces/jam134/adad/resolve/main/runtime/include/cpython/bytearrayobject.h
789 Bytes
| /* Object layout */ | |
| typedef struct { | |
| PyObject_VAR_HEAD | |
| Py_ssize_t ob_alloc; /* How many bytes allocated in ob_bytes */ | |
| char *ob_bytes; /* Physical backing buffer */ | |
| char *ob_start; /* Logical start inside ob_bytes */ | |
| Py_ssize_t ob_exports; /* How many buffer exports */ | |
| } PyByteArrayObject; | |
| /* Macros, trading safety for speed */ | |
| (assert(PyByteArray_Check(self)), \ | |
| Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_start : _PyByteArray_empty_string) | |
| PyAPI_DATA(char) _PyByteArray_empty_string[]; | |