summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-07 17:06:58 +0100
committerJürg Billeter <j@bitron.ch>2010-09-17 18:26:07 +0200
commitb8181d4dcd1d34cfde0f068137bccc1b9cca3f40 (patch)
treecc86646458b49fd323f5060f33fa6fef979581dc
parentbc710d7af6c4abb5623b0846eb3d4abe7ddc2b3f (diff)
downloadvala-b8181d4dcd1d34cfde0f068137bccc1b9cca3f40.tar.gz
readline: fix the completion_matches binding
-rw-r--r--vapi/readline.vapi2
1 files changed, 1 insertions, 1 deletions
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")]