понедельник, 16 апреля 2012 г., 4:46:27 UTC+4 пользователь Luis Carvalho 
написал:
> <snip>
> > > So is this patch ready to be included now?
> > > Or should we wait until Python 3 is supported?
> > 
> > Attached patch adds both python and python3 extended support (also adds
> > luaeval to syntax/vim.vim as it is absent there).
> <snip>
> 
> Thanks for the great job! Since you're hacking at eval.c, can I ask you to
> also add the following to the prototype, i.e., promote them from static to
> extern:
> 
> - listitem_alloc, list_find, list_remove, list_append (for symmetry with
>   dicts)
> - set_ref_in_ht, set_ref_in_list, set_ref_in_item (you copied from if_lua, but
>   I copied and adapted them from eval.c before)
> 
> Besides avoiding redundancies, these changes enrich the API and make for an
> easier road to other language bindings. Thanks again!

list_append is already there: list_append_tv. You are appending typval there, 
so all you need is to remove copy_tv. Others I will try to promote.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui