summaryrefslogtreecommitdiffstats
path: root/src/proto/typval.pro
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-07-17 19:11:07 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-17 19:11:07 +0200
commita9a7c0c602b231dc37c4b0f62ade0421c84fca03 (patch)
treea7e6e2dcad98c9dd2244cf9c368360b71abf61a6 /src/proto/typval.pro
parent20c370d9f2ee89cb854054edf71f5004f6efff77 (diff)
patch 8.2.3173: Vim9: argument types are not checked at compile timev8.2.3173
Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
Diffstat (limited to 'src/proto/typval.pro')
-rw-r--r--src/proto/typval.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/typval.pro b/src/proto/typval.pro
index b1864bca0d..ccde9a6b68 100644
--- a/src/proto/typval.pro
+++ b/src/proto/typval.pro
@@ -12,6 +12,8 @@ float_T tv_get_float(typval_T *varp);
int check_for_string_arg(typval_T *args, int idx);
int check_for_nonempty_string_arg(typval_T *args, int idx);
int check_for_number_arg(typval_T *args, int idx);
+int check_for_bool_arg(typval_T *args, int idx);
+int check_for_list_arg(typval_T *args, int idx);
int check_for_dict_arg(typval_T *args, int idx);
char_u *tv_get_string(typval_T *varp);
char_u *tv_get_string_strict(typval_T *varp);