[vala/0.40] glib-2.0: Fix MutexLocker binding



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

    glib-2.0: Fix MutexLocker binding

 vapi/glib-2.0.vapi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index ace03b8f9..9ba8ad487 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2067,9 +2067,11 @@ namespace GLib {
        }
 
        [Version (since = "2.44")]
-       [CCode (destroy_function = "g_mutex_locker_free")]
-       public struct MutexLocker {
+       [Compact]
+       [CCode (free_function = "g_mutex_locker_free")]
+       public class MutexLocker {
                public MutexLocker (Mutex mutex);
+               [DestroysInstance]
                public void free ();
        }
 


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