diff options
-rw-r--r-- | src/nvim/eval/user_funcs.c | 3 | ||||
-rw-r--r-- | src/nvim/eval/user_funcs.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/eval/user_funcs.c b/src/nvim/eval/user_funcs.c index 7b13b0c539..825232f01b 100644 --- a/src/nvim/eval/user_funcs.c +++ b/src/nvim/eval/user_funcs.c @@ -14,9 +14,6 @@ #define FC_REMOVED 0x20 // function redefined while uf_refcount > 0 #define FC_SANDBOX 0x40 // function defined in the sandbox -#define FUNCARG(fp, j) ((char_u **)(fp->uf_args.ga_data))[j] -#define FUNCLINE(fp, j) ((char_u **)(fp->uf_lines.ga_data))[j] - #ifdef INCLUDE_GENERATED_DECLARATIONS #include "eval/user_funcs.c.generated.h" #endif diff --git a/src/nvim/eval/user_funcs.h b/src/nvim/eval/user_funcs.h index a62172973f..409a1243ac 100644 --- a/src/nvim/eval/user_funcs.h +++ b/src/nvim/eval/user_funcs.h @@ -26,6 +26,9 @@ typedef enum { typedef int (*ArgvFunc)(int current_argcount, typval_T *argv, int called_func_argcount); +#define FUNCARG(fp, j) ((char_u **)(fp->uf_args.ga_data))[j] +#define FUNCLINE(fp, j) ((char_u **)(fp->uf_lines.ga_data))[j] + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "eval/user_funcs.h.generated.h" #endif |