[vala/wip/libgtop-2.0: 2/2] WIP



commit 37c1e4be095e9f7147903355a8833fe3110f0e79
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Mar 25 13:20:27 2018 +0200

    WIP

 vapi/libgtop-2.0.vapi           | 4 ++--
 vapi/metadata/GTop-2.0.metadata | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/libgtop-2.0.vapi b/vapi/libgtop-2.0.vapi
index 2b7b5444e..edf817490 100644
--- a/vapi/libgtop-2.0.vapi
+++ b/vapi/libgtop-2.0.vapi
@@ -65,8 +65,8 @@ namespace GTop {
                public void get_mem_s (out GTop.Mem buf);
                [CCode (cheader_filename = "glibtop.h")]
                public static GTop.MountEntry? get_mountlist (out GTop.MountList buf, int all_fs);
-               public unowned GTop.MountEntry? get_mountlist_l (out GTop.MountList buf, int all_fs);
-               public unowned GTop.MountEntry? get_mountlist_s (out GTop.MountList buf, int all_fs);
+               public GTop.MountEntry? get_mountlist_l (out GTop.MountList buf, int all_fs);
+               public GTop.MountEntry? get_mountlist_s (out GTop.MountList buf, int all_fs);
                [CCode (cheader_filename = "glibtop.h")]
                public static void get_msg_limits (out GTop.MsgLimits buf);
                public void get_msg_limits_l (out GTop.MsgLimits buf);
diff --git a/vapi/metadata/GTop-2.0.metadata b/vapi/metadata/GTop-2.0.metadata
index a363611a3..b9545ad40 100644
--- a/vapi/metadata/GTop-2.0.metadata
+++ b/vapi/metadata/GTop-2.0.metadata
@@ -62,3 +62,7 @@ glibtop_entry
        .labels type="GLib.GenericArray<unowned string>"
        .values type="GLib.HashTable<string,string>"
        .descriptions unowned
+
+glibtop
+       .get_mountlist_l unowned=false
+       .get_mountlist_s unowned=false


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