diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2020-04-27 01:45:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-27 01:45:30 -0400 |
| commit | fc98f2d5815d8f7e671766db255edbb7365960b1 (patch) | |
| tree | 6180a999aa9d1806d14e23f51be82e0347dc5d12 /src/nvim/eval.h | |
| parent | 34ad1ea36637845adb14c579587168126d3210e3 (diff) | |
| parent | 6b050a145dcd2836512cdb8e5239cd2b656267b9 (diff) | |
| download | rneovim-fc98f2d5815d8f7e671766db255edbb7365960b1.tar.gz rneovim-fc98f2d5815d8f7e671766db255edbb7365960b1.tar.bz2 rneovim-fc98f2d5815d8f7e671766db255edbb7365960b1.zip | |
Merge #11851 'eval.c: factor out eval/userfunc.c'
vim-patch:7.4.2058
Diffstat (limited to 'src/nvim/eval.h')
| -rw-r--r-- | src/nvim/eval.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h index 7606d16f5d..ebc0eb0b1a 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) @@ -187,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 argskip, - int called_func_argcount); - /// trans_function_name() flags typedef enum { TFN_INT = 1, ///< May use internal function name @@ -242,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 |