[vala] glib-2.0: Add RecMutexLocker since 2.60
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Add RecMutexLocker since 2.60
- Date: Sun, 6 Jan 2019 17:02:18 +0000 (UTC)
commit 5716771ce6e8056314c18777ad439bf00f8aac1a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Jan 6 17:22:41 2019 +0100
glib-2.0: Add RecMutexLocker since 2.60
vapi/glib-2.0.vapi | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 33b9a6024..7e53fc46f 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2082,6 +2082,13 @@ namespace GLib {
public void unlock ();
}
+ [Version (since = "2.60")]
+ [CCode (destroy_function = "g_rec_mutex_locker_free")]
+ public struct RecMutexLocker {
+ public RecMutexLocker (RecMutex rec_mutex);
+ public void free ();
+ }
+
[Version (since = "2.32")]
[CCode (destroy_function = "g_rw_lock_clear")]
public struct RWLock {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]