]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Set default_value attribute for GLib.pointer
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 2 Oct 2019 16:08:18 +0000 (18:08 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 5 Oct 2019 11:45:55 +0000 (13:45 +0200)
vapi/glib-2.0.vapi

index bde2182333a0b8c2a6bd94a58ab9078e67e72fc0..d4e21ce48c02132473e98d089d2d67919a49c8d9 100644 (file)
@@ -1568,7 +1568,7 @@ public class string16 {
 namespace GLib {
        [PointerType]
        [GIR (fullname = "gpointer")]
-       [CCode (cname = "gpointer", const_cname = "gconstpointer", cheader_filename = "glib.h")]
+       [CCode (cname = "gpointer", const_cname = "gconstpointer", cheader_filename = "glib.h", default_value = "NULL")]
        public struct pointer {
        }