mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
cc02da0ccf
Added C-Style array support.
Existing mapping:
convert:
pack:
char[N] => STR
const char[N] => STR
object:
char[N] => STR (v1 only)
const char[N] => STR (v1 only)
object_with_zone:
char[N] => STR
const char[N] => STR
Additional mapping:
convert:
STR => char[N]
ARRAY => T[N]
pack:
T[N] => ARRAY
const T[N] => ARRAY
object:
object_with_zone:
T[N] => ARRAY
const T[N] => ARRAY
54 lines
1.5 KiB
C++
54 lines
1.5 KiB
C++
#include "cpp_config.hpp"
|
|
#include "adaptor/array_ref.hpp"
|
|
#include "adaptor/bool.hpp"
|
|
#include "adaptor/carray.hpp"
|
|
#include "adaptor/char_ptr.hpp"
|
|
#include "adaptor/deque.hpp"
|
|
#include "adaptor/ext.hpp"
|
|
#include "adaptor/fixint.hpp"
|
|
#include "adaptor/float.hpp"
|
|
#include "adaptor/int.hpp"
|
|
#include "adaptor/list.hpp"
|
|
#include "adaptor/map.hpp"
|
|
#include "adaptor/nil.hpp"
|
|
#include "adaptor/pair.hpp"
|
|
#include "adaptor/raw.hpp"
|
|
#include "adaptor/v4raw.hpp"
|
|
#include "adaptor/set.hpp"
|
|
#include "adaptor/string.hpp"
|
|
#include "adaptor/vector.hpp"
|
|
#include "adaptor/vector_bool.hpp"
|
|
#include "adaptor/vector_char.hpp"
|
|
#include "adaptor/vector_unsigned_char.hpp"
|
|
#include "adaptor/msgpack_tuple.hpp"
|
|
#include "adaptor/define.hpp"
|
|
|
|
#if defined(MSGPACK_USE_CPP03)
|
|
|
|
#include "adaptor/tr1/unordered_map.hpp"
|
|
#include "adaptor/tr1/unordered_set.hpp"
|
|
|
|
#else // defined(MSGPACK_USE_CPP03)
|
|
|
|
#include "adaptor/cpp11/array.hpp"
|
|
#include "adaptor/cpp11/array_char.hpp"
|
|
#include "adaptor/cpp11/array_unsigned_char.hpp"
|
|
#include "adaptor/cpp11/forward_list.hpp"
|
|
#include "adaptor/cpp11/reference_wrapper.hpp"
|
|
#include "adaptor/cpp11/shared_ptr.hpp"
|
|
#include "adaptor/cpp11/tuple.hpp"
|
|
#include "adaptor/cpp11/unique_ptr.hpp"
|
|
#include "adaptor/cpp11/unordered_map.hpp"
|
|
#include "adaptor/cpp11/unordered_set.hpp"
|
|
|
|
#endif // defined(MSGPACK_USE_CPP03)
|
|
|
|
#if defined(MSGPACK_USE_BOOST)
|
|
|
|
#include "adaptor/boost/fusion.hpp"
|
|
#include "adaptor/boost/msgpack_variant.hpp"
|
|
#include "adaptor/boost/optional.hpp"
|
|
#include "adaptor/boost/string_ref.hpp"
|
|
|
|
#endif // defined(MSGPACK_USE_BOOST)
|