[vala/0.10] readline: fix the completion_matches binding



commit b8181d4dcd1d34cfde0f068137bccc1b9cca3f40
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Tue Sep 7 17:06:58 2010 +0100

    readline: fix the completion_matches binding

 vapi/readline.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/readline.vapi b/vapi/readline.vapi
index de10d17..f897466 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")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]