summaryrefslogtreecommitdiffstats
path: root/src/proto/list.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-30 17:45:33 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-30 17:45:33 +0100
commit3e518a8ec74065aedd67d352c93d6ae6be550316 (patch)
tree239505fa04b1012bfccad56d6cc3f7f6517bfe78 /src/proto/list.pro
parentf92cfb1acc3fef74eef0c83c1a35a2b6a9f93a9b (diff)
patch 9.0.0331: cannot use items() on a stringv9.0.0331
Problem: Cannot use items() on a string. Solution: Make items() work on a string. (closes #11016)
Diffstat (limited to 'src/proto/list.pro')
-rw-r--r--src/proto/list.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/list.pro b/src/proto/list.pro
index 611aeac40f..6c3523a0ab 100644
--- a/src/proto/list.pro
+++ b/src/proto/list.pro
@@ -36,6 +36,7 @@ int list_assign_range(list_T *dest, list_T *src, long idx1_arg, long idx2, int e
void f_flatten(typval_T *argvars, typval_T *rettv);
void f_flattennew(typval_T *argvars, typval_T *rettv);
void list2items(typval_T *argvars, typval_T *rettv);
+void string2items(typval_T *argvars, typval_T *rettv);
int list_extend(list_T *l1, list_T *l2, listitem_T *bef);
int list_concat(list_T *l1, list_T *l2, typval_T *tv);
list_T *list_slice(list_T *ol, long n1, long n2);