From 3b0475927cc9335a1e0ff238bd9221c7444914bb Mon Sep 17 00:00:00 2001 From: Jakub Łuczyński Date: Fri, 7 Feb 2020 19:46:11 +0100 Subject: moved more stuff --- src/nvim/eval.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/nvim/eval.h') diff --git a/src/nvim/eval.h b/src/nvim/eval.h index 918823c311..1aaccd88fb 100644 --- a/src/nvim/eval.h +++ b/src/nvim/eval.h @@ -15,13 +15,6 @@ // All user-defined functions are found in this hashtable. extern hashtab_T func_hashtab; -///< Structure used by trans_function_name() -typedef struct { - dict_T *fd_dict; ///< Dictionary used. - char_u *fd_newkey; ///< New key in "dict" in allocated memory. - dictitem_T *fd_di; ///< Dictionary item used. -} funcdict_T; - // From user function to hashitem and back. EXTERN ufunc_T dumuf; #define UF2HIKEY(fp) ((fp)->uf_name) -- cgit From 3477512f810f5dc9717301e4ff76b5ef368d67e8 Mon Sep 17 00:00:00 2001 From: Jakub Łuczyński Date: Mon, 10 Feb 2020 14:20:12 +0100 Subject: fix: header updates --- src/nvim/eval.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/nvim/eval.h') diff --git a/src/nvim/eval.h b/src/nvim/eval.h index 1aaccd88fb..6890d24252 100644 --- a/src/nvim/eval.h +++ b/src/nvim/eval.h @@ -180,9 +180,6 @@ extern const list_T *eval_msgpack_type_lists[LAST_MSGPACK_TYPE + 1]; #undef LAST_MSGPACK_TYPE -typedef int (*ArgvFunc)(int current_argcount, typval_T *argv, - int called_func_argcount); - /// trans_function_name() flags typedef enum { TFN_INT = 1, ///< May use internal function name -- cgit From 1e0a9b26908ab1f48e58435da9efca691179d63d Mon Sep 17 00:00:00 2001 From: Jakub Łuczyński Date: Tue, 11 Feb 2020 12:18:22 +0100 Subject: fix: made eval_lavars_used global --- src/nvim/eval.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nvim/eval.h') diff --git a/src/nvim/eval.h b/src/nvim/eval.h index 6890d24252..ebc0eb0b1a 100644 --- a/src/nvim/eval.h +++ b/src/nvim/eval.h @@ -232,6 +232,9 @@ typedef enum { kDictListItems, ///< List dictionary contents: [keys, values]. } DictListType; +// Used for checking if local variables or arguments used in a lambda. +extern bool *eval_lavars_used; + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "eval.h.generated.h" #endif -- cgit