diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-12-11 02:04:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-11 02:04:33 +0100 |
commit | 29e651515fec1a4bc2cd41ed1c04eb5d03250525 (patch) | |
tree | 1ee201e49b49d9d2b9440fa92e5bdfb9b53dff04 /src/nvim/eval/encode.c | |
parent | 0fe89fc9d777d4b07684c33eb07b304e1e8285e3 (diff) | |
parent | e427cdf2d4799971cf45b36ea7344f37f115d02b (diff) | |
download | rneovim-29e651515fec1a4bc2cd41ed1c04eb5d03250525.tar.gz rneovim-29e651515fec1a4bc2cd41ed1c04eb5d03250525.tar.bz2 rneovim-29e651515fec1a4bc2cd41ed1c04eb5d03250525.zip |
Merge #5752 from justinmk/doc
doc: api_info(), typval_encode.h
Diffstat (limited to 'src/nvim/eval/encode.c')
-rw-r--r-- | src/nvim/eval/encode.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/eval/encode.c b/src/nvim/eval/encode.c index f6c58d8562..869eae74a3 100644 --- a/src/nvim/eval/encode.c +++ b/src/nvim/eval/encode.c @@ -383,6 +383,8 @@ int encode_read_from_list(ListReaderState *const state, char *const buf, #define TYPVAL_ENCODE_ALLOW_SPECIALS false +// string_convert_one_value() +// encode_vim_to_string() TYPVAL_ENCODE_DEFINE_CONV_FUNCTIONS(static, string, garray_T *const, gap) #undef TYPVAL_ENCODE_CONV_RECURSE @@ -413,6 +415,8 @@ TYPVAL_ENCODE_DEFINE_CONV_FUNCTIONS(static, string, garray_T *const, gap) return OK; \ } while (0) +// echo_convert_one_value() +// encode_vim_to_echo() TYPVAL_ENCODE_DEFINE_CONV_FUNCTIONS(, echo, garray_T *const, gap) #undef TYPVAL_ENCODE_CONV_RECURSE @@ -704,6 +708,8 @@ bool encode_check_json_key(const typval_T *const tv) } \ } while (0) +// json_convert_one_value() +// encode_vim_to_json() TYPVAL_ENCODE_DEFINE_CONV_FUNCTIONS(static, json, garray_T *const, gap) #undef TYPVAL_ENCODE_CONV_STRING @@ -886,6 +892,8 @@ char *encode_tv2json(typval_T *tv, size_t *len) #define TYPVAL_ENCODE_ALLOW_SPECIALS true +// msgpack_convert_one_value() +// encode_vim_to_msgpack() TYPVAL_ENCODE_DEFINE_CONV_FUNCTIONS(, msgpack, msgpack_packer *const, packer) #undef TYPVAL_ENCODE_CONV_STRING |