diff options
author | Jakub Łuczyński <doubleloop@o2.pl> | 2020-02-10 14:20:12 +0100 |
---|---|---|
committer | Jakub Łuczyński <doubleloop@o2.pl> | 2020-02-13 14:11:44 +0100 |
commit | 3477512f810f5dc9717301e4ff76b5ef368d67e8 (patch) | |
tree | 804e51afb259e7dc717df2ca4f2dbbcc92e71dd8 /src/nvim/eval/user_funcs.c | |
parent | 937da5dd7ebf7e164e81a1361fdd5239cc9b5201 (diff) | |
download | rneovim-3477512f810f5dc9717301e4ff76b5ef368d67e8.tar.gz rneovim-3477512f810f5dc9717301e4ff76b5ef368d67e8.tar.bz2 rneovim-3477512f810f5dc9717301e4ff76b5ef368d67e8.zip |
fix: header updates
Diffstat (limited to 'src/nvim/eval/user_funcs.c')
-rw-r--r-- | src/nvim/eval/user_funcs.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/nvim/eval/user_funcs.c b/src/nvim/eval/user_funcs.c index 72313c3bd7..76a9438314 100644 --- a/src/nvim/eval/user_funcs.c +++ b/src/nvim/eval/user_funcs.c @@ -17,34 +17,6 @@ #define FUNCARG(fp, j) ((char_u **)(fp->uf_args.ga_data))[j] #define FUNCLINE(fp, j) ((char_u **)(fp->uf_lines.ga_data))[j] -/// Short variable name length -#define VAR_SHORT_LEN 20 -/// Number of fixed variables used for arguments -#define FIXVAR_CNT 12 - -struct funccall_S { - ufunc_T *func; ///< Function being called. - int linenr; ///< Next line to be executed. - int returned; ///< ":return" used. - /// Fixed variables for arguments. - TV_DICTITEM_STRUCT(VAR_SHORT_LEN + 1) fixvar[FIXVAR_CNT]; - dict_T l_vars; ///< l: local function variables. - ScopeDictDictItem l_vars_var; ///< Variable for l: scope. - dict_T l_avars; ///< a: argument variables. - ScopeDictDictItem l_avars_var; ///< Variable for a: scope. - list_T l_varlist; ///< List for a:000. - listitem_T l_listitems[MAX_FUNC_ARGS]; ///< List items for a:000. - typval_T *rettv; ///< Return value. - linenr_T breakpoint; ///< Next line with breakpoint or zero. - int dbg_tick; ///< Debug_tick when breakpoint was set. - int level; ///< Top nesting level of executed function. - proftime_T prof_child; ///< Time spent in a child. - funccall_T *caller; ///< Calling function or NULL. - int fc_refcount; ///< Number of user functions that reference this funccall. - int fc_copyID; ///< CopyID used for garbage collection. - garray_T fc_funcs; ///< List of ufunc_T* which keep a reference to "func". -}; - hashtab_T func_hashtab; // Used by get_func_tv() |