diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-09-07 16:37:00 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2010-09-17 18:26:06 +0200 |
commit | 5ab4376dddcfd328837db8b2f84784a53b9187c3 (patch) | |
tree | fe5a01974ce91a45232d856301bd534c36531865 | |
parent | 784ac44efbf431bf4bd1286626ed4ecc3ad17a43 (diff) | |
download | vala-5ab4376dddcfd328837db8b2f84784a53b9187c3.tar.gz |
readline: fix the signature of CompletionFunc
-rw-r--r-- | vapi/readline.vapi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vapi/readline.vapi b/vapi/readline.vapi index ece78c67b..c0335cc21 100644 --- a/vapi/readline.vapi +++ b/vapi/readline.vapi @@ -25,8 +25,8 @@ namespace Readline { [CCode (cname = "rl_command_func_t", has_target = false)] public delegate int CommandFunc (int a, int b); - [CCode (cname = "rl_completion_func_t", has_target = false)] - public delegate string[] CompletionFunc (string str, int a, int b); + [CCode (cname = "rl_completion_func_t", has_target = false, array_length = false, array_null_terminated = true)] + public delegate string[]? CompletionFunc (string str, int a, int b); [CCode (cname = "rl_quote_func_t", has_target = false)] public delegate string? CompentryFunc (string str, int a); [CCode (cname = "rl_quote_func_t", has_target = false)] |