]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Allow null as argmument for string.escape()
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 20 Sep 2016 10:08:09 +0000 (12:08 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 20 Sep 2016 10:08:09 +0000 (12:08 +0200)
vapi/glib-2.0.vapi

index fc90df409a713c27c794e10fe899a7c35ce17899..a2a315c82aee3917e1a522affb4231b1c2e6f486 100644 (file)
@@ -1039,7 +1039,7 @@ public class string {
        [CCode (cname = "g_strconcat")]
        public string concat (string string2, ...);
        [CCode (cname = "g_strescape")]
-       public string escape (string exceptions);
+       public string escape (string? exceptions = null);
        [CCode (cname = "g_strcompress")]
        public string compress ();
        [CCode (cname = "g_strsplit", array_length = false, array_null_terminated = true)]