diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-15 14:39:52 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-15 14:39:52 +0200 |
commit | b6c589a529bc8c5720477494696c6f69fe457475 (patch) | |
tree | fa6f512190cb15fa5a0a3186312ede6115881e61 /src/eval.c | |
parent | 46a7561f3a151fefc469225d41822dd0be292f98 (diff) | |
download | vim-git-b6c589a529bc8c5720477494696c6f69fe457475.tar.gz |
updated for version 7.3.947v7.3.947
Problem: Python: No iterator for vim.list and vim.bufferlist.
Solution: Add the iterators. Also fix name of FunctionType. Add tests for
vim.buffers. (ZyX)
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/eval.c b/src/eval.c index ed2a9d3e2..db2dc616e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -390,8 +390,6 @@ static char_u *get_lval __ARGS((char_u *name, typval_T *rettv, lval_T *lp, int u static void clear_lval __ARGS((lval_T *lp)); static void set_var_lval __ARGS((lval_T *lp, char_u *endp, typval_T *rettv, int copy, char_u *op)); static int tv_op __ARGS((typval_T *tv1, typval_T *tv2, char_u *op)); -static void list_add_watch __ARGS((list_T *l, listwatch_T *lw)); -static void list_rem_watch __ARGS((list_T *l, listwatch_T *lwrem)); static void list_fix_watch __ARGS((list_T *l, listitem_T *item)); static void ex_unletlock __ARGS((exarg_T *eap, char_u *argstart, int deep)); static int do_unlet_var __ARGS((lval_T *lp, char_u *name_end, int forceit)); @@ -3106,7 +3104,7 @@ tv_op(tv1, tv2, op) /* * Add a watcher to a list. */ - static void + void list_add_watch(l, lw) list_T *l; listwatch_T *lw; @@ -3119,7 +3117,7 @@ list_add_watch(l, lw) * Remove a watcher from a list. * No warning when it isn't found... */ - static void + void list_rem_watch(l, lwrem) list_T *l; listwatch_T *lwrem; |