diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/memoryobject.h | 1 | ||||
-rw-r--r-- | Include/object.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Include/memoryobject.h b/Include/memoryobject.h index 62ecbd6..aff5d99 100644 --- a/Include/memoryobject.h +++ b/Include/memoryobject.h @@ -69,6 +69,7 @@ PyAPI_FUNC(PyObject *) PyMemoryView_FromBuffer(Py_buffer *info); typedef struct { PyObject_HEAD Py_buffer view; + Py_hash_t hash; } PyMemoryViewObject; #endif diff --git a/Include/object.h b/Include/object.h index 648c9cb..b97f716 100644 --- a/Include/object.h +++ b/Include/object.h @@ -519,6 +519,7 @@ PyAPI_FUNC(void) Py_ReprLeave(PyObject *); #ifndef Py_LIMITED_API PyAPI_FUNC(Py_hash_t) _Py_HashDouble(double); PyAPI_FUNC(Py_hash_t) _Py_HashPointer(void*); +PyAPI_FUNC(Py_hash_t) _Py_HashBytes(unsigned char*, Py_ssize_t); #endif /* Helper for passing objects to printf and the like */ |