mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
lang/c/msgpack: fix types
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@63 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
parent
a0a798d79e
commit
1278eb3c63
17 changed files with 85 additions and 71 deletions
|
|
@ -50,7 +50,7 @@ public:
|
|||
void pack_array(unsigned int n) { pack_array_impl(m_stream, n); }
|
||||
void pack_map(unsigned int n) { pack_map_impl(m_stream, n); }
|
||||
void pack_string(const char* b) { pack_string_impl(m_stream, b); }
|
||||
void pack_raw(const void* b, size_t l) { pack_raw_impl(m_stream, b, l); }
|
||||
void pack_raw(const char* b, size_t l) { pack_raw_impl(m_stream, (const void*)b, l); }
|
||||
|
||||
private:
|
||||
static void pack_int_impl(Stream& x, int d);
|
||||
|
|
@ -134,7 +134,7 @@ public:
|
|||
void pack_array(unsigned int n) { pack_array_impl(m_stream, n); }
|
||||
void pack_map(unsigned int n) { pack_map_impl(m_stream, n); }
|
||||
void pack_string(const char* b) { pack_string_impl(m_stream, b); }
|
||||
void pack_raw(const void* b, size_t l) { pack_raw_impl(m_stream, b, l); }
|
||||
void pack_raw(const char* b, size_t l) { pack_raw_impl(m_stream, (const void*)b, l); }
|
||||
|
||||
private:
|
||||
static void pack_int_impl(dynamic_stream& x, int d);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue