From 6a95409cd249979c9bed6b5f43404ac3808b3dc5 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 27 Jul 2015 21:16:49 +0200 Subject: [PATCH] * Fix type on bits --- spacy/serialize/bits.pxd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/serialize/bits.pxd b/spacy/serialize/bits.pxd index d0b0a7fdd..5e462a2da 100644 --- a/spacy/serialize/bits.pxd +++ b/spacy/serialize/bits.pxd @@ -1,5 +1,5 @@ from libc.stdint cimport uint64_t -from libc.stdint cimport uint32_t +from libc.stdint cimport int32_t, uint32_t ctypedef unsigned char uchar @@ -20,4 +20,4 @@ cdef class BitArray: 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