diff options
author | Wouter Bolsterlee <uws@xs4all.nl> | 2014-02-11 21:05:15 +0100 |
---|---|---|
committer | Wouter Bolsterlee <uws@xs4all.nl> | 2014-02-11 21:05:15 +0100 |
commit | dd65341e0d3a0df843841796050f98ab1520e623 (patch) | |
tree | 887b729880bf6a2a8dc92084b3ff7431afd76198 | |
parent | d5436c28197f3ccdd473e1c54838133574948dab (diff) | |
download | msgpack-python-dd65341e0d3a0df843841796050f98ab1520e623.tar.gz |
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.
-rw-r--r-- | msgpack/_unpacker.pyx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/msgpack/_unpacker.pyx b/msgpack/_unpacker.pyx index d5aa46e..a359507 100644 --- a/msgpack/_unpacker.pyx +++ b/msgpack/_unpacker.pyx @@ -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: |