]> 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>
Thu, 3 Oct 2019 06:59:54 +0000 (08:59 +0200)
vapi/glib-2.0.vapi

index 5427bf9fb36f7f3f5651eeaba4a405945c7f9d90..7409a63335fca15e91c7553d106406e7c3a3d4b6 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 {
        }