mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
lang/c/msgpack: fixed packaging problem
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@64 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
parent
1278eb3c63
commit
48e0274505
10 changed files with 24 additions and 22 deletions
|
|
@ -175,6 +175,7 @@ int msgpack_unpacker_execute(msgpack_unpacker* ctx, const char* data, size_t len
|
|||
msgpack_unpack_context* user = &ctx->user;
|
||||
|
||||
msgpack_object obj;
|
||||
msgpack_unpacker_stack* c = NULL;
|
||||
|
||||
int ret;
|
||||
|
||||
|
|
@ -381,7 +382,7 @@ int msgpack_unpacker_execute(msgpack_unpacker* ctx, const char* data, size_t len
|
|||
|
||||
_push:
|
||||
if(top == 0) { goto _finish; }
|
||||
msgpack_unpacker_stack* c = &stack[top-1];
|
||||
c = &stack[top-1];
|
||||
switch(c->ct) {
|
||||
case CT_ARRAY_ITEM:
|
||||
msgpack_unpack_array_item(user, c->obj, obj);
|
||||
|
|
@ -444,16 +445,16 @@ _end:
|
|||
}
|
||||
|
||||
|
||||
#ifdef betoh16(x)
|
||||
#undef betoh16(x)
|
||||
#ifdef betoh16
|
||||
#undef betoh16
|
||||
#endif
|
||||
|
||||
#ifdef betoh32(x)
|
||||
#undef betoh32(x)
|
||||
#ifdef betoh32
|
||||
#undef betoh32
|
||||
#endif
|
||||
|
||||
#ifdef betoh64(x)
|
||||
#undef betoh64(x)
|
||||
#ifdef betoh64
|
||||
#undef betoh64
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue