From: Philip Withnall Date: Tue, 7 Sep 2010 16:06:58 +0000 (+0100) Subject: readline: fix the completion_matches binding X-Git-Tag: 0.10.0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8181d4dcd1d34cfde0f068137bccc1b9cca3f40;p=thirdparty%2Fvala.git readline: fix the completion_matches binding --- diff --git a/vapi/readline.vapi b/vapi/readline.vapi index de10d1767..f897466d5 100644 --- a/vapi/readline.vapi +++ b/vapi/readline.vapi @@ -851,7 +851,7 @@ namespace Readline { [CCode (cname = "rl_display_match_list")] public void display_match_list (string[] matches, int len, int max); - [CCode (cname = "rl_completion_matches")] + [CCode (cname = "rl_completion_matches", array_length = false, array_null_terminated = true)] public unowned string[] completion_matches (string text, CompentryFunc func); [CCode (cname = "rl_username_completion_function")]