]> 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)
committerJürg Billeter <j@bitron.ch>
Wed, 30 Nov 2011 13:20:06 +0000 (14:20 +0100)
vapi/glib-2.0.vapi

index f7b30a1ee45d7c023d05a64369ad8b293da105ae..586c5df68293bbddd8cb926ca3d018458114578b 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 ();