]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix default value for static RecMutex, RWLock and Private
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 4 Oct 2011 19:49:57 +0000 (21:49 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Tue, 4 Oct 2011 19:50:47 +0000 (21:50 +0200)
vapi/glib-2.0.vapi

index 5859d23898fa6aa0971ad9ca4cf78f4baf5a1475..dde281531f11cc4102fcd06e2a72824cf2b68d00 100644 (file)
@@ -1852,7 +1852,7 @@ namespace GLib {
                public void lock_full ();
        }
 
-       [CCode (destroy_function = "g_static_rec_mutex_free")]
+       [CCode (destroy_function = "g_static_rec_mutex_free", default_value = "G_STATIC_REC_MUTEX_INIT")]
        public struct StaticRecMutex {
                public StaticRecMutex ();
                public void lock ();
@@ -1861,7 +1861,7 @@ namespace GLib {
                public void lock_full ();
        }
 
-       [CCode (destroy_function = "g_static_rw_lock_free")]
+       [CCode (destroy_function = "g_static_rw_lock_free", default_value = "G_STATIC_RW_LOCK_INIT")]
        public struct StaticRWLock {
                public StaticRWLock ();
                public void reader_lock ();
@@ -1880,7 +1880,7 @@ namespace GLib {
                public void set (void* data);
        }
 
-       [CCode (destroy_function = "g_static_private_free")]
+       [CCode (destroy_function = "g_static_private_free", default_value = "G_STATIC_PRIVATE_INIT")]
        public struct StaticPrivate {
                public StaticPrivate ();
                public void* get ();