]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
readline: fix the completion_matches binding
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 7 Sep 2010 16:06:58 +0000 (17:06 +0100)
committerJürg Billeter <j@bitron.ch>
Fri, 17 Sep 2010 16:26:07 +0000 (18:26 +0200)
vapi/readline.vapi

index de10d1767b3dee300f4a9b5cd3a631b51db9ac3b..f897466d5c3cce0bafeac328b80d649866b2e1a4 100644 (file)
@@ -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")]