Skip to content

Commit

Permalink
avoid unnecessary ctypedef redeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
svlandeg committed Apr 11, 2024
1 parent 4aba49f commit e3324b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions srsly/msgpack/_unpacker.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ cdef extern from "Python.h":
from libc.stdlib cimport *
from libc.string cimport *
from libc.limits cimport *
ctypedef unsigned long long uint64_t

from .exceptions import (
BufferFull,
Expand Down Expand Up @@ -316,7 +315,7 @@ cdef class Unpacker(object):
cdef object object_hook, object_pairs_hook, list_hook, ext_hook
cdef object encoding, unicode_errors
cdef Py_ssize_t max_buffer_size
cdef uint64_t stream_offset
cdef unsigned long long stream_offset

def __cinit__(self):
self.buf = NULL
Expand Down

0 comments on commit e3324b9

Please sign in to comment.