Skip to content

Commit

Permalink
feat: init version (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Apr 4, 2023
1 parent 8a8a53b commit fc608b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fnv_hash_fast/_fnv_impl.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ import cython
cdef extern from "fnv_wrapper.h":
int _cpp_fnv1a_32(string data)

def _fnv1a_32(ulid_str: str) -> int:
return _cpp_fnv1a_32(ulid_str.encode("ascii"))
def _fnv1a_32(data: bytes) -> int:
return _cpp_fnv1a_32(data)

0 comments on commit fc608b7

Please sign in to comment.