mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix: moved macros
This commit is contained in:
parent
c7ef0e8d2d
commit
e367e80e11
@ -14,9 +14,6 @@
|
|||||||
#define FC_REMOVED 0x20 // function redefined while uf_refcount > 0
|
#define FC_REMOVED 0x20 // function redefined while uf_refcount > 0
|
||||||
#define FC_SANDBOX 0x40 // function defined in the sandbox
|
#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
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||||
#include "eval/user_funcs.c.generated.h"
|
#include "eval/user_funcs.c.generated.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -26,6 +26,9 @@ typedef enum {
|
|||||||
typedef int (*ArgvFunc)(int current_argcount, typval_T *argv,
|
typedef int (*ArgvFunc)(int current_argcount, typval_T *argv,
|
||||||
int called_func_argcount);
|
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
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||||
# include "eval/user_funcs.h.generated.h"
|
# include "eval/user_funcs.h.generated.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user