8000 Merge branch 'master' of github.com:msgpack/msgpack-python · Vayu/msgpack-python@868d149 · GitHub
[go: up one dir, main page]

Skip to content

Commit 868d149

Browse files
committed
Merge branch 'master' of github.com:msgpack/msgpack-python
2 parents 5bc6859 + 198196c commit 868d149

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

msgpack/_packer.pyx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ from cpython cimport *
55
from libc.stdlib cimport *
66
from libc.string cimport *
77
from libc.limits cimport *
8-
from libc.stdint cimport int8_t
98

109
from msgpack.exceptions import PackValueError
1110
from msgpack import ExtType
@@ -32,7 +31,7 @@ cdef extern from "pack.h":
3231
int msgpack_pack_raw(msgpack_packer* pk, size_t l)
3332
int msgpack_pack_bin(msgpack_packer* pk, size_t l)
3433
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)
3635

3736
cdef int DEFAULT_RECURSE_LIMIT=511
3837

msgpack/pack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static inline int msgpack_pack_raw(msgpack_packer* pk, size_t l);
7171
static inline int msgpack_pack_bin(msgpack_packer* pk, size_t l);
7272
static inline int msgpack_pack_raw_body(msgpack_packer* pk, const void* b, size_t l);
7373

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);
7575

7676
static inline int msgpack_pack_write(msgpack_packer* pk, const char *data, size_t l)
7777
{

0 commit comments

Comments
 (0)
0