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/typval_encode.h | |
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/typval_encode.h')
-rw-r--r-- | src/nvim/eval/typval_encode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/eval/typval_encode.h b/src/nvim/eval/typval_encode.h index 98fa7b26c6..868877bd47 100644 --- a/src/nvim/eval/typval_encode.h +++ b/src/nvim/eval/typval_encode.h @@ -212,10 +212,9 @@ static inline size_t tv_strlen(const typval_T *const tv) : strlen((char *) tv->vval.v_string)); } -/// Define functions which convert VimL value to something else -/// -/// Creates function `vim_to_{name}(firstargtype firstargname, typval_T *const -/// tv)` which returns OK or FAIL and helper functions. +/// Define functions to convert a VimL value: +/// `{name}_convert_one_value(...)` +/// `encode_vim_to_{name}(...)` /// /// @param scope Scope of the main function: either nothing or `static`. /// @param name Name of the target converter. @@ -224,6 +223,7 @@ static inline size_t tv_strlen(const typval_T *const tv) /// @param firstargname Name of the first argument. #define TYPVAL_ENCODE_DEFINE_CONV_FUNCTIONS(scope, name, firstargtype, \ firstargname) \ +/* Returns OK or FAIL */ \ static int name##_convert_one_value(firstargtype firstargname, \ MPConvStack *const mpstack, \ typval_T *const tv, \ |