From 4dfe36feb16923b454ea2e44cc512adaff879127 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 23 Jan 2012 20:48:47 -0800 Subject: [PATCH] Migrate input_function_get_names to wcstring_list_t --- builtin.cpp | 13 +++---------- input.cpp | 12 +++--------- input.h | 2 +- 3 files changed, 7 insertions(+), 20 deletions(-) diff --git a/builtin.cpp b/builtin.cpp index a3f4ebe13..3897e8994 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -465,20 +465,13 @@ static void builtin_bind_key_names( int all ) */ static void builtin_bind_function_names() { - array_list_t lst; - int i; + wcstring_list_t names = input_function_get_names(); - al_init( &lst ); - input_function_get_names( &lst ); - - for( i=0; i