]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
readline: Make the parameter of VcpFunc be nullable
authorPhilip Withnall <philip@tecnocode.co.uk>
Fri, 13 Jan 2012 19:31:32 +0000 (19:31 +0000)
committerJürg Billeter <j@bitron.ch>
Tue, 31 Jan 2012 13:02:29 +0000 (14:02 +0100)
Fixes bug 667893.

vapi/readline.vapi

index e130fef8a9ef805276233bcc7150090b33d886af..6ff09fd43e4b232b6e6f9e9a6d5a0dbdd200eb87 100644 (file)
@@ -54,7 +54,7 @@ namespace Readline {
        [CCode (cname = "rl_vintfunc_t", has_target = false)]
        public delegate void     VintFunc (int a);
        [CCode (cname = "rl_vcpfunc_t", has_target = false)]
-       public delegate void     VcpFunc (string s);
+       public delegate void     VcpFunc (string? s);
        [CCode (cname = "rl_vcppfunc_t", has_target = false)]
        public delegate void     VcppFunc (string[] s);
        [CCode (cname = "rl_cpvfunc_t", has_target = false)]