mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
fix: moved macros
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user