Go to the source code of this file.
◆ CBIND
#define CBIND |
( |
|
cname, |
|
|
|
func |
|
) |
| |
Value:
WASM_EXPORT void cname##__schema(uint8_t** output_out,
size_t* output_len_out) \
{ \
msgpack_cbind_schema_impl(func, output_out, output_len_out); \
}
#define CBIND_NOSCHEMA(cname, func)
Definition at line 89 of file msgpack_impl.hpp.
◆ CBIND_NOSCHEMA
#define CBIND_NOSCHEMA |
( |
|
cname, |
|
|
|
func |
|
) |
| |
Value: WASM_EXPORT void cname(
const uint8_t* input_in,
size_t input_len_in, uint8_t** output_out,
size_t* output_len_out) \
{ \
msgpack_cbind_impl(func, input_in, input_len_in, output_out, output_len_out); \
}
Definition at line 78 of file msgpack_impl.hpp.
◆ MSGPACK_NO_BOOST
◆ msgpack_cbind_impl()
void msgpack_cbind_impl |
( |
const auto & |
func, |
|
|
const uint8_t * |
input_in, |
|
|
size_t |
input_len_in, |
|
|
uint8_t ** |
output_out, |
|
|
size_t * |
output_len_out |
|
) |
| |
|
inline |
◆ msgpack_cbind_schema_impl()
void msgpack_cbind_schema_impl |
( |
auto |
func, |
|
|
uint8_t ** |
output_out, |
|
|
size_t * |
output_len_out |
|
) |
| |
|
inline |
◆ msgpack_encode_buffer()
std::pair< uint8_t *, size_t > msgpack_encode_buffer |
( |
auto && |
obj | ) |
|
|
inline |
Represents this as a bbmalloc'ed object, fit for sending to e.g. TypeScript.
- Parameters
-
- Returns
- The buffer pointer/size pair.
Definition at line 27 of file msgpack_impl.hpp.