]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Improve binding of g_strfreev()
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 21 Apr 2024 14:29:03 +0000 (16:29 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 21 Apr 2024 14:29:03 +0000 (16:29 +0200)
vapi/glib-2.0.vapi

index 6772260d43fd470f628f3cf5d04514186295afc8..dc523187b3c2086e3df45f2dbb04184edae407c2 100644 (file)
@@ -3008,7 +3008,7 @@ namespace GLib {
        [CCode (array_length = false, array_null_terminated = true)]
        public string[] strdupv ([CCode (array_length = false, array_null_terminated = true)] string[] str_array);
 
-       public void strfreev (string** str_array);
+       public void strfreev ([CCode (array_length = false, array_null_terminated = true)] owned string[] str_array);
        [Version (since = "2.6")]
        public uint strv_length ([CCode (array_length = false, array_null_terminated = true)] string[] str_array);
        [Version (since = "2.44")]