diff options
Diffstat (limited to 'scripts/msgpack-gen.lua')
-rw-r--r-- | scripts/msgpack-gen.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/msgpack-gen.lua b/scripts/msgpack-gen.lua index fac1b10b45..8d7bb8ea59 100644 --- a/scripts/msgpack-gen.lua +++ b/scripts/msgpack-gen.lua @@ -100,7 +100,7 @@ end output:write([[ -static const uint8_t msgpack_metadata[] = { +const uint8_t msgpack_metadata[] = { ]]) -- serialize the API metadata using msgpack and embed into the resulting @@ -116,6 +116,7 @@ end -- usually it is the first function called by clients. output:write([[ }; +const unsigned int msgpack_metadata_size = sizeof(msgpack_metadata); void msgpack_rpc_dispatch(uint64_t channel_id, msgpack_object *req, msgpack_packer *res) { |