mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
* Fix type on bits
This commit is contained in:
parent
a296d72b54
commit
6a95409cd2
|
@ -1,5 +1,5 @@
|
||||||
from libc.stdint cimport uint64_t
|
from libc.stdint cimport uint64_t
|
||||||
from libc.stdint cimport uint32_t
|
from libc.stdint cimport int32_t, uint32_t
|
||||||
|
|
||||||
ctypedef unsigned char uchar
|
ctypedef unsigned char uchar
|
||||||
|
|
||||||
|
@ -20,4 +20,4 @@ cdef class BitArray:
|
||||||
|
|
||||||
cdef int extend(self, uint64_t code, char n_bits) except -1
|
cdef int extend(self, uint64_t code, char n_bits) except -1
|
||||||
|
|
||||||
cdef int32_t read32(self) except 0
|
cpdef int32_t read32(self) except 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user