[vala/wip/libgtop-2.0: 29/29] WIP
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/libgtop-2.0: 29/29] WIP
- Date: Mon, 25 Feb 2019 10:25:01 +0000 (UTC)
commit bb358997d8f22a124f4b33577e954d26b4b7459b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Mar 25 13:20:27 2018 +0200
WIP
vapi/libgtop-2.0.vapi | 26 +++++++++++++-------------
vapi/metadata/GTop-2.0.metadata | 12 ++++++++++++
2 files changed, 25 insertions(+), 13 deletions(-)
---
diff --git a/vapi/libgtop-2.0.vapi b/vapi/libgtop-2.0.vapi
index 2b7b5444e..1984ea87c 100644
--- a/vapi/libgtop-2.0.vapi
+++ b/vapi/libgtop-2.0.vapi
@@ -65,18 +65,18 @@ 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);
public void get_msg_limits_s (out GTop.MsgLimits buf);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "glibtop.h")]
- public static unowned string[] get_netlist (out GTop.NetList buf);
+ public static string[] get_netlist (out GTop.NetList buf);
[CCode (array_length = false, array_null_terminated = true)]
- public unowned string[] get_netlist_l (out GTop.NetList buf);
+ public string[] get_netlist_l (out GTop.NetList buf);
[CCode (array_length = false, array_null_terminated = true)]
- public unowned string[] get_netlist_s (out GTop.NetList buf);
+ public string[] get_netlist_s (out GTop.NetList buf);
[CCode (cheader_filename = "glibtop.h")]
public static void get_netload (out GTop.NetLoad buf, string @interface);
public void get_netload_l (out GTop.NetLoad buf, string @interface);
@@ -105,16 +105,16 @@ namespace GTop {
public void get_proc_kernel_l (out GTop.ProcKernel buf, int pid);
public void get_proc_kernel_s (out GTop.ProcKernel buf, int pid);
[CCode (cheader_filename = "glibtop.h")]
- public static unowned GTop.MapEntry? get_proc_map (out GTop.ProcMap buf, int pid);
- public unowned GTop.MapEntry? get_proc_map_l (out GTop.ProcMap buf, int pid);
- public unowned GTop.MapEntry? get_proc_map_s (out GTop.ProcMap buf, int pid);
+ public static GTop.MapEntry? get_proc_map (out GTop.ProcMap buf, int pid);
+ public GTop.MapEntry? get_proc_map_l (out GTop.ProcMap buf, int pid);
+ public GTop.MapEntry? get_proc_map_s (out GTop.ProcMap buf, int pid);
[CCode (cheader_filename = "glibtop.h")]
public static void get_proc_mem (out GTop.ProcMem buf, int pid);
public void get_proc_mem_l (out GTop.ProcMem buf, int pid);
public void get_proc_mem_s (out GTop.ProcMem buf, int pid);
[CCode (cheader_filename = "glibtop.h")]
- public static unowned GTop.OpenFileEntry? get_proc_open_files (out GTop.ProcOpenFiles buf,
int pid);
- public unowned GTop.OpenFileEntry? get_proc_open_files_l (out GTop.ProcOpenFiles buf, int
pid);
+ public static GTop.OpenFileEntry? get_proc_open_files (out GTop.ProcOpenFiles buf, int pid);
+ public GTop.OpenFileEntry? get_proc_open_files_l (out GTop.ProcOpenFiles buf, int pid);
public GTop.OpenFileEntry? get_proc_open_files_s (out GTop.ProcOpenFiles buf, int pid);
[CCode (cheader_filename = "glibtop.h")]
public static void get_proc_segment (out GTop.Segment buf, int pid);
@@ -139,11 +139,11 @@ namespace GTop {
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "glibtop.h")]
public static string[] get_proc_wd (out GTop.ProcWd buf, int pid);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "glibtop.h")]
- public static unowned int[] get_proclist (out GTop.ProcList buf, int64 which, int64 arg);
+ public static int[] get_proclist (out GTop.ProcList buf, int64 which, int64 arg);
[CCode (array_length = false, array_null_terminated = true)]
- public unowned int[] get_proclist_l (out GTop.ProcList buf, int64 which, int64 arg);
+ public int[] get_proclist_l (out GTop.ProcList buf, int64 which, int64 arg);
[CCode (array_length = false, array_null_terminated = true)]
- public unowned int[] get_proclist_s (out GTop.ProcList buf, int64 which, int64 arg);
+ public int[] get_proclist_s (out GTop.ProcList buf, int64 which, int64 arg);
[CCode (cheader_filename = "glibtop.h")]
public static void get_sem_limits (out GTop.SemLimits buf);
public void get_sem_limits_l (out GTop.SemLimits buf);
diff --git a/vapi/metadata/GTop-2.0.metadata b/vapi/metadata/GTop-2.0.metadata
index a363611a3..4c257efe6 100644
--- a/vapi/metadata/GTop-2.0.metadata
+++ b/vapi/metadata/GTop-2.0.metadata
@@ -62,3 +62,15 @@ glibtop_entry
.labels type="GLib.GenericArray<unowned string>"
.values type="GLib.HashTable<string,string>"
.descriptions unowned
+
+glibtop
+ .get_netlist* unowned=false
+ .get_mountlist_l unowned=false
+ .get_mountlist_s unowned=false
+ .get_proc_map* unowned=false
+ .get_proc_open_files* unowned=false
+ .get_proclist* unowned=false
+glibtop_get_netlist unowned=false
+glibtop_get_proc_map unowned=false
+glibtop_get_proc_open_files unowned=false
+glibtop_get_proclist unowned=false
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]