diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/eval/user_funcs.c | 7 | ||||
-rw-r--r-- | src/nvim/eval/user_funcs.h | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/nvim/eval/user_funcs.c b/src/nvim/eval/user_funcs.c index 24a7251e94..2531b943c7 100644 --- a/src/nvim/eval/user_funcs.c +++ b/src/nvim/eval/user_funcs.c @@ -1,3 +1,10 @@ +// This is an open source non-commercial project. Dear PVS-Studio, please check +// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + +// User defined function support + +#include "nvim/eval/user_funcs.h" + // flags used in uf_flags #define FC_ABORT 0x01 // abort function on error #define FC_RANGE 0x02 // function accepts range diff --git a/src/nvim/eval/user_funcs.h b/src/nvim/eval/user_funcs.h new file mode 100644 index 0000000000..5c82d32c8a --- /dev/null +++ b/src/nvim/eval/user_funcs.h @@ -0,0 +1,9 @@ +#ifndef NVIM_EVAL_USER_FUNCS_H +#define NVIM_EVAL_USER_FUNCS_H + +#include "nvim/eval/typeval.h" + +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "eval/user_funcs.h.generated.h" +#endif +#endif // NVIM_EVAL_USER_FUNCS_H |