aboutsummaryrefslogtreecommitdiff
path: root/scripts/msgpack-gen.lua
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-26 13:39:05 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-26 14:02:12 -0300
commit4bac5e9ce19afd4647ee4d313c9485229d05a334 (patch)
tree5f6927bb13c8e68c6572c6d5d004c4517338cbfb /scripts/msgpack-gen.lua
parent339d106f7c1e756782980e884304b44e5faebddd (diff)
downloadrneovim-4bac5e9ce19afd4647ee4d313c9485229d05a334.tar.gz
rneovim-4bac5e9ce19afd4647ee4d313c9485229d05a334.tar.bz2
rneovim-4bac5e9ce19afd4647ee4d313c9485229d05a334.zip
API: Refactor: Duplicate/free string arguments coming from msgpack
When receiving strings *from* msgpack, we don't need to duplicate/free since the data only lives in the msgpack parse buffer until the end of the call. But in order to reuse `msgpack_rpc_free_object` when sending event data(which is sent *to* msgpack), Strings must be freed, which means they must also be allocated separately.
Diffstat (limited to 'scripts/msgpack-gen.lua')
0 files changed, 0 insertions, 0 deletions