Skip to content

Commit

Permalink
fix cython warning: reorder attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 7, 2023
1 parent 54d9e15 commit 8aa59a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xpra/buffers/xxh.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

from libc.stdint cimport uint64_t

cdef uint64_t xxh3(const void* input, size_t length) nogil noexcept
cdef uint64_t xxh3(const void* input, size_t length) noexcept nogil
2 changes: 1 addition & 1 deletion xpra/buffers/xxh.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ cdef extern from "xxhash.h":
ctypedef uint64_t XXH64_hash_t
XXH64_hash_t XXH3_64bits(const void* data, size_t length) nogil

cdef uint64_t xxh3(const void* data, size_t length) nogil noexcept:
cdef uint64_t xxh3(const void* data, size_t length) noexcept nogil:
return XXH3_64bits(data, length)

0 comments on commit 8aa59a9

Please sign in to comment.