[vala/0.44] glib-2.0: Add missing "DestroysInstance" attributes to Mutex/Locker API



commit b71631a43b1cc3ed9cdfc4c3e4260d6129361f9b
Author: Jeremy Philippe <jeremy philippe gmail com>
Date:   Mon Sep 2 01:27:44 2019 +0200

    glib-2.0: Add missing "DestroysInstance" attributes to Mutex/Locker API

 vapi/glib-2.0.vapi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index ba48a9ce4..d202117b6 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2082,16 +2082,17 @@ namespace GLib {
        [CCode (destroy_function = "g_rec_mutex_clear")]
        public struct RecMutex {
                public RecMutex ();
-               public void lock ();
+               public void @lock ();
                public bool trylock ();
                public void unlock ();
        }
 
        [Version (since = "2.60")]
        [Compact]
-       [CCode (destroy_function = "g_rec_mutex_locker_free")]
+       [CCode (free_function = "g_rec_mutex_locker_free")]
        public class RecMutexLocker {
                public RecMutexLocker (RecMutex rec_mutex);
+               [DestroysInstance]
                public void free ();
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]