mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 17:59:52 +00:00
Cosmetic changes to fix Cython warnings
Put declarations on separate line to avoid warnings like this: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
This commit is contained in:
parent
d5436c2819
commit
dd65341e0d
1 changed files with 2 additions and 1 deletions
|
|
@ -221,7 +221,8 @@ cdef class Unpacker(object):
|
|||
object object_hook=None, object object_pairs_hook=None, object list_hook=None,
|
||||
str encoding=None, str unicode_errors='strict', int max_buffer_size=0,
|
||||
object ext_hook=ExtType):
|
||||
cdef char *cenc=NULL, *cerr=NULL
|
||||
cdef char *cenc=NULL,
|
||||
cdef char *cerr=NULL
|
||||
|
||||
self.file_like = file_like
|
||||
if file_like:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue