summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-26 15:56:19 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-26 15:56:19 +0100
commit8a7d6542b33e5d2b352262305c3bfdb2d14e1cf8 (patch)
tree8e5f241129a1c690ea81d697a72fb4c1704c0cb6 /src/macros.h
parent1d9215b9aaa120b9d78fee49488556f73007ce78 (diff)
downloadvim-git-8a7d6542b33e5d2b352262305c3bfdb2d14e1cf8.tar.gz
patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149
Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h
index 455705ca4..6631d4d9b 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -302,6 +302,10 @@
# endif
#endif
+#ifdef FEAT_EVAL
+# define FUNCARG(fp, j) ((char_u **)(fp->uf_args.ga_data))[j]
+#endif
+
/*
* In a hashtab item "hi_key" points to "di_key" in a dictitem.
* This avoids adding a pointer to the hashtab item.