[vala/0.14] glib-2.0: Fix default value for static RecMutex, RWLock and Private
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.14] glib-2.0: Fix default value for static RecMutex, RWLock and Private
- Date: Wed, 30 Nov 2011 14:23:39 +0000 (UTC)
commit af8afb78a4a163aeb75a6541393cc8a0a23ed451
Author: Luca Bruno <lucabru src gnome org>
Date: Tue Oct 4 21:49:57 2011 +0200
glib-2.0: Fix default value for static RecMutex, RWLock and Private
vapi/glib-2.0.vapi | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index f7b30a1..586c5df 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]