#include <stdlib.h>
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <boost/predef/other/endian.h>
Go to the source code of this file.
◆ _msgpack_load16
| #define _msgpack_load16 |
( |
| cast, |
|
|
| from, |
|
|
| to ) |
Value: do { \
memcpy((cast*)(to), (from), sizeof(cast)); \
*(to) = (cast)_msgpack_be16(*(to)); \
} while (0);
Referenced by msgpack::detail::load().
◆ _msgpack_load32
| #define _msgpack_load32 |
( |
| cast, |
|
|
| from, |
|
|
| to ) |
◆ _msgpack_load64
| #define _msgpack_load64 |
( |
| cast, |
|
|
| from, |
|
|
| to ) |
◆ _msgpack_store16
| #define _msgpack_store16 |
( |
| to, |
|
|
| num ) |
◆ _msgpack_store32
| #define _msgpack_store32 |
( |
| to, |
|
|
| num ) |
Value: do { uint32_t val = _msgpack_be32(num); memcpy(to, &val, 4); } while(0)
Referenced by msgpack::adaptor::object_with_zone< std::chrono::time_point< Clock, Duration > >::operator()(), msgpack::adaptor::object_with_zone< timespec >::operator()(), msgpack::adaptor::pack< std::chrono::time_point< Clock, Duration > >::operator()(), msgpack::adaptor::pack< timespec >::operator()(), msgpack::packer< Stream >::pack_array(), msgpack::packer< Stream >::pack_bin(), msgpack::packer< Stream >::pack_ext(), msgpack::packer< Stream >::pack_fix_int32(), msgpack::packer< Stream >::pack_fix_uint32(), msgpack::packer< Stream >::pack_float(), msgpack::packer< Stream >::pack_map(), msgpack::packer< Stream >::pack_str(), and msgpack::packer< Stream >::pack_v4raw().
◆ _msgpack_store64
| #define _msgpack_store64 |
( |
| to, |
|
|
| num ) |
Value: do { uint64_t val = _msgpack_be64(num); memcpy(to, &val, 8); } while(0)
Referenced by msgpack::adaptor::object_with_zone< std::chrono::time_point< Clock, Duration > >::operator()(), msgpack::adaptor::object_with_zone< timespec >::operator()(), msgpack::adaptor::pack< std::chrono::time_point< Clock, Duration > >::operator()(), msgpack::adaptor::pack< timespec >::operator()(), msgpack::packer< Stream >::pack_double(), msgpack::packer< Stream >::pack_fix_int64(), and msgpack::packer< Stream >::pack_fix_uint64().
◆ _msgpack_sync_decr_and_fetch
| #define _msgpack_sync_decr_and_fetch |
( |
| ptr | ) |
|
◆ _msgpack_sync_incr_and_fetch
| #define _msgpack_sync_incr_and_fetch |
( |
| ptr | ) |
|
◆ MSGPACK_DLLEXPORT
| #define MSGPACK_DLLEXPORT |
◆ MSGPACK_ENDIAN_BIG_BYTE
| #define MSGPACK_ENDIAN_BIG_BYTE BOOST_ENDIAN_BIG_BYTE |
◆ MSGPACK_ENDIAN_LITTLE_BYTE
| #define MSGPACK_ENDIAN_LITTLE_BYTE BOOST_ENDIAN_LITTLE_BYTE |
◆ _msgpack_atomic_counter_t