[vala] glib-2.0: Add GStaticMutex bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] glib-2.0: Add GStaticMutex bindings
- Date: Wed, 29 Jul 2009 06:41:24 +0000 (UTC)
commit be662f64b951279a67a17cb570233006fe72aa40
Author: Jürg Billeter <j bitron ch>
Date: Wed Jul 29 08:41:01 2009 +0200
glib-2.0: Add GStaticMutex bindings
vapi/glib-2.0.vapi | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 031471f..464763e 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1358,6 +1358,15 @@ namespace GLib {
public void unlock ();
}
+ [CCode (destroy_function = "g_static_mutex_free")]
+ public struct StaticMutex {
+ public StaticMutex ();
+ public void lock ();
+ public bool trylock ();
+ public void unlock ();
+ public void lock_full ();
+ }
+
[CCode (destroy_function = "g_static_rec_mutex_free")]
public struct StaticRecMutex {
public StaticRecMutex ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]