File tree 2 files changed +2
-3
lines changed 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ from cpython cimport *
5
5
from libc.stdlib cimport *
6
6
from libc.string cimport *
7
7
from libc.limits cimport *
8
- from libc.stdint cimport int8_t
9
8
10
9
from msgpack.exceptions import PackValueError
11
10
from msgpack import ExtType
@@ -32,7 +31,7 @@ cdef extern from "pack.h":
32
31
int msgpack_pack_raw(msgpack_packer* pk, size_t l)
33
32
int msgpack_pack_bin(msgpack_packer* pk, size_t l)
34
33
int msgpack_pack_raw_body(msgpack_packer* pk, char * body, size_t l)
35
- int msgpack_pack_ext(msgpack_packer* pk, int8_t typecode, size_t l)
34
+ int msgpack_pack_ext(msgpack_packer* pk, char typecode, size_t l)
36
35
37
36
cdef int DEFAULT_RECURSE_LIMIT= 511
38
37
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ static inline int msgpack_pack_raw(msgpack_packer* pk, size_t l);
71
71
static inline int msgpack_pack_bin (msgpack_packer * pk , size_t l );
72
72
static inline int msgpack_pack_raw_body (msgpack_packer * pk , const void * b , size_t l );
73
73
74
- static inline int msgpack_pack_ext (msgpack_packer * pk , int8_t typecode , size_t l );
74
+ static inline int msgpack_pack_ext (msgpack_packer * pk , char typecode , size_t l );
75
75
76
76
static inline int msgpack_pack_write (msgpack_packer * pk , const char * data , size_t l )
77
77
{
You can’t perform that action at this time.
0 commit comments