diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2019-03-07 16:28:17 +0100 |
---|---|---|
committer | Corentin Noël <corentin.noel@collabora.com> | 2019-03-07 16:28:17 +0100 |
commit | 8871660dac7a3ffd5cb483ed801754683b5b12ee (patch) | |
tree | f115d074c3d16be16e92aebb328655f3e663cf3d | |
parent | 334f1e5c4cf0a673d29690e37ab5f2fdc0ae1285 (diff) | |
download | libgtop-8871660dac7a3ffd5cb483ed801754683b5b12ee.tar.gz |
Fix several array and transfer annotations
-rw-r--r-- | include/glibtop/mountlist.h | 8 | ||||
-rw-r--r-- | include/glibtop/netlist.h | 8 | ||||
-rw-r--r-- | include/glibtop/proclist.h | 8 | ||||
-rw-r--r-- | include/glibtop/procmap.h | 8 | ||||
-rw-r--r-- | include/glibtop/procopenfiles.h | 6 |
5 files changed, 19 insertions, 19 deletions
diff --git a/include/glibtop/mountlist.h b/include/glibtop/mountlist.h index f4691b36..f9d88cdf 100644 --- a/include/glibtop/mountlist.h +++ b/include/glibtop/mountlist.h @@ -58,7 +58,7 @@ struct _glibtop_mountlist * @buf: * @all_fs: * - * Returns: (transfer full): + * Returns: (transfer full) (array zero-terminated=1): */ /** @@ -66,7 +66,7 @@ struct _glibtop_mountlist * @buf: (out): * @all_fs: * - * Returns: (transfer none): + * Returns: (transfer full) (array zero-terminated=1): */ /** @@ -74,7 +74,7 @@ struct _glibtop_mountlist * @buf: (out): * @all_fs: * - * Returns: (transfer none): + * Returns: (transfer full) (array zero-terminated=1): */ /** @@ -82,7 +82,7 @@ struct _glibtop_mountlist * @buf: (out): * @all_fs: * - * Returns: (transfer none): + * Returns: (transfer full) (array zero-terminated=1): */ glibtop_mountentry * diff --git a/include/glibtop/netlist.h b/include/glibtop/netlist.h index f5ed2ffe..a6fc4abd 100644 --- a/include/glibtop/netlist.h +++ b/include/glibtop/netlist.h @@ -45,7 +45,7 @@ struct _glibtop_netlist * glibtop_get_netlist: * @buf: a #glibtop_netlist * - * Returns: (array zero-terminated=1) (transfer none): an array of network + * Returns: (array zero-terminated=1) (transfer full): an array of network * interface names. */ char** glibtop_get_netlist(glibtop_netlist *buf); @@ -61,7 +61,7 @@ char** glibtop_get_netlist(glibtop_netlist *buf); * @server: a #glibtop server * @buf: a #glibtop_netlist * - * Returns: (array zero-terminated=1) (transfer none): an array of network + * Returns: (array zero-terminated=1) (transfer full): an array of network * interface names. */ char** glibtop_get_netlist_l (glibtop *server, glibtop_netlist *buf); @@ -74,7 +74,7 @@ void _glibtop_init_netlist_p (glibtop *server); * @server: a #glibtop server * @buf: a #glibtop_netlist * - * Returns: (array zero-terminated=1) (transfer none): an array of network + * Returns: (array zero-terminated=1) (transfer full): an array of network * interface names. */ char** glibtop_get_netlist_p (glibtop *server, glibtop_netlist *buf); @@ -86,7 +86,7 @@ void _glibtop_init_netlist_s (glibtop *server); * @server: a #glibtop server * @buf: a #glibtop_netlist * - * Returns: (array zero-terminated=1) (transfer none): an array of network + * Returns: (array zero-terminated=1) (transfer full): an array of network * interface names. */ char** glibtop_get_netlist_s (glibtop *server, glibtop_netlist *buf); diff --git a/include/glibtop/proclist.h b/include/glibtop/proclist.h index 417d618a..4380de3d 100644 --- a/include/glibtop/proclist.h +++ b/include/glibtop/proclist.h @@ -133,7 +133,7 @@ struct _glibtop_proclist * @which: a #GLIBTOP_* constant specifying process type * @arg: an argument specific for the process type * - * Returns: (array zero-terminated=1) (transfer none): an array of process + * Returns: (array zero-terminated=1) (transfer full): an array of process * ids */ pid_t* @@ -152,7 +152,7 @@ glibtop_get_proclist(glibtop_proclist *buf, gint64 which, gint64 arg); * @which: a #GLIBTOP_* constant specifying process type * @arg: an argument specific for the process type * - * Returns: (array zero-terminated=1) (transfer none): an array of process + * Returns: (array zero-terminated=1) (transfer full): an array of process * ids */ pid_t* @@ -169,7 +169,7 @@ void _glibtop_init_proclist_p (glibtop *server); * @which: a #GLIBTOP_* constant specifying process type * @arg: an argument specific for the process type * - * Returns: (array zero-terminated=1) (transfer none): an array of process + * Returns: (array zero-terminated=1) (transfer full): an array of process * ids */ pid_t* @@ -185,7 +185,7 @@ void _glibtop_init_proclist_s (glibtop *server); * @which: a #GLIBTOP_* constant specifying process type * @arg: an argument specific for the process type * - * Returns: (array zero-terminated=1) (transfer none): an array of process + * Returns: (array zero-terminated=1) (transfer full): an array of process * ids */ pid_t* diff --git a/include/glibtop/procmap.h b/include/glibtop/procmap.h index e0516d7d..9466279b 100644 --- a/include/glibtop/procmap.h +++ b/include/glibtop/procmap.h @@ -98,7 +98,7 @@ struct _glibtop_proc_map * @buf: * @pid: * - * Returns: (transfer none): + * Returns: (transfer full) (array zero-terminated=1): */ glibtop_map_entry * glibtop_get_proc_map(glibtop_proc_map *buf, pid_t pid); @@ -111,7 +111,7 @@ glibtop_get_proc_map(glibtop_proc_map *buf, pid_t pid); * @buf: (out): * @pid: * - * Returns: (transfer none): + * Returns: (transfer full) (array zero-terminated=1): */ /** @@ -120,7 +120,7 @@ glibtop_get_proc_map(glibtop_proc_map *buf, pid_t pid); * @buf: (out): * @pid: * - * Returns: (transfer none): + * Returns: (transfer full) (array zero-terminated=1): */ /** @@ -129,7 +129,7 @@ glibtop_get_proc_map(glibtop_proc_map *buf, pid_t pid); * @buf: (out): * @pid: * - * Returns: (transfer none): + * Returns: (transfer full) (array zero-terminated=1): */ #if GLIBTOP_SUID_PROC_MAP diff --git a/include/glibtop/procopenfiles.h b/include/glibtop/procopenfiles.h index 4bcc2fda..42847965 100644 --- a/include/glibtop/procopenfiles.h +++ b/include/glibtop/procopenfiles.h @@ -99,7 +99,7 @@ struct _glibtop_proc_open_files * @buf: * @pid: * - * Returns: (transfer none): + * Returns: (transfer full) (array zero-terminated=1): */ glibtop_open_files_entry * @@ -118,7 +118,7 @@ glibtop_get_proc_open_files(glibtop_proc_open_files *buf, pid_t pid); * @buf: (out): * @pid: * - * Returns: (transfer none): + * Returns: (transfer full) (array zero-terminated=1): */ glibtop_open_files_entry * @@ -134,7 +134,7 @@ void _glibtop_init_proc_open_files_p (glibtop *server); * @buf: (out): * @pid: * - * Returns: (transfer none): + * Returns: (transfer full) (array zero-terminated=1): */ glibtop_open_files_entry * |