File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 125125#define XXH128_DIGESTSIZE 16
126126#define XXH128_BLOCKSIZE 64
127127
128- #ifndef Py_ALWAYS_INLINE
129- # define Py_ALWAYS_INLINE
130- #endif
131128
132129/* Hex lookup table for hexdigest(). */
133130/* Get a buffer from an object. Rejects str with hashlib-compatible error. */
134- static inline Py_ALWAYS_INLINE int
131+ static inline int
135132_get_buffer_or_str (PyObject * obj , Py_buffer * buf )
136133{
137134 if (obj == Py_None ) {
@@ -651,7 +648,7 @@ static void PYXXH32_dealloc(PYXXH32Object *self)
651648 * When XXHASH_WITH_LOCK is not defined: no locking, but still release GIL
652649 * for large data to avoid blocking other threads. */
653650#define XXHASH_DO_UPDATE (type , update_fn ) \
654- static inline Py_ALWAYS_INLINE void \
651+ static inline void \
655652PY##type##_do_update(PY##type##Object *self, Py_buffer *buf) \
656653{ \
657654 XXHASH_LOCK_MAYBE_INIT(self, buf->len); \
You can’t perform that action at this time.
0 commit comments