0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.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)
This commit is contained in:
Bram Moolenaar
2013-05-15 14:39:52 +02:00
parent 46a7561f3a
commit b6c589a529
11 changed files with 361 additions and 48 deletions

View File

@@ -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;