aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.h
diff options
context:
space:
mode:
authorSebastian Witte <woozletoff@gmail.com>2015-07-08 07:40:28 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2015-07-19 17:18:31 +0200
commitfcb79ffc40b93d5e0d165e1d001d073c83b8617e (patch)
treef4e89af6aea1d5ed2a64a49ea45f8769b590e06a /src/nvim/eval.h
parentfb0ebb2a3a220a2e744efabed82beb08d88e158d (diff)
downloadrneovim-fcb79ffc40b93d5e0d165e1d001d073c83b8617e.tar.gz
rneovim-fcb79ffc40b93d5e0d165e1d001d073c83b8617e.tar.bz2
rneovim-fcb79ffc40b93d5e0d165e1d001d073c83b8617e.zip
Implement API function to call functions #2979
Remove static modifier from func_call Move MAX_FUNC_ARGS definnition from eval.c to eval.h
Diffstat (limited to 'src/nvim/eval.h')
-rw-r--r--src/nvim/eval.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h
index 75e3b247f3..bf48bc74b8 100644
--- a/src/nvim/eval.h
+++ b/src/nvim/eval.h
@@ -68,6 +68,9 @@ enum {
VV_LEN, /* number of v: vars */
};
+/// Maximum number of function arguments
+#define MAX_FUNC_ARGS 20
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "eval.h.generated.h"
#endif