src/list.c
int
list_append_tv_move(list_T *l, typval_T *tv)
{
    listitem_T	*li = listitem_alloc();

    if (li == NULL)
	return FAIL;
    li->li_tv = *tv;
    list_append(l, li);
    return OK;
}
/*
 * As list_append_tv() but move the value instead of copying it.
 * Return FAIL when out of memory.
 */
As list_append_tv() but move the value instead of copying it.
Return FAIL when out of memory.
As list_append_tv () but move the value instead of copying it . Return FAIL when out of memory .
int
list_append_tv_move(list_T *l, typval_T *tv)
{
    listitem_T	*li = listitem_alloc();
    if (li == NULL)
	return FAIL;
    li->li_tv = *tv;
    list_append(l, li);
    return OK;
}
int list_append_tv_move ( list_T * l , typval_T * tv ) { listitem_T * li = listitem_alloc ( ) ; if ( li == NULL ) return FAIL ; li -> li_tv = * tv ; list_append ( l , li ) ; return OK ; }
As list_append_tv() but move the value instead of copying it.
As list_append_tv () but move the value instead of copying it .