Fix several array and transfer annotations

This commit is contained in:
Corentin Noël
2019-03-07 16:28:17 +01:00
parent 334f1e5c4c
commit 8871660dac
5 changed files with 19 additions and 19 deletions

View File

@@ -58,7 +58,7 @@ struct _glibtop_mountlist
* @buf: * @buf:
* @all_fs: * @all_fs:
* *
* Returns: (transfer full): * Returns: (transfer full) (array zero-terminated=1):
*/ */
/** /**
@@ -66,7 +66,7 @@ struct _glibtop_mountlist
* @buf: (out): * @buf: (out):
* @all_fs: * @all_fs:
* *
* Returns: (transfer none): * Returns: (transfer full) (array zero-terminated=1):
*/ */
/** /**
@@ -74,7 +74,7 @@ struct _glibtop_mountlist
* @buf: (out): * @buf: (out):
* @all_fs: * @all_fs:
* *
* Returns: (transfer none): * Returns: (transfer full) (array zero-terminated=1):
*/ */
/** /**
@@ -82,7 +82,7 @@ struct _glibtop_mountlist
* @buf: (out): * @buf: (out):
* @all_fs: * @all_fs:
* *
* Returns: (transfer none): * Returns: (transfer full) (array zero-terminated=1):
*/ */
glibtop_mountentry * glibtop_mountentry *

View File

@@ -45,7 +45,7 @@ struct _glibtop_netlist
* glibtop_get_netlist: * glibtop_get_netlist:
* @buf: a #glibtop_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. * interface names.
*/ */
char** glibtop_get_netlist(glibtop_netlist *buf); char** glibtop_get_netlist(glibtop_netlist *buf);
@@ -61,7 +61,7 @@ char** glibtop_get_netlist(glibtop_netlist *buf);
* @server: a #glibtop server * @server: a #glibtop server
* @buf: a #glibtop_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. * interface names.
*/ */
char** glibtop_get_netlist_l (glibtop *server, glibtop_netlist *buf); 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 * @server: a #glibtop server
* @buf: a #glibtop_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. * interface names.
*/ */
char** glibtop_get_netlist_p (glibtop *server, glibtop_netlist *buf); 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 * @server: a #glibtop server
* @buf: a #glibtop_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. * interface names.
*/ */
char** glibtop_get_netlist_s (glibtop *server, glibtop_netlist *buf); char** glibtop_get_netlist_s (glibtop *server, glibtop_netlist *buf);

View File

@@ -133,7 +133,7 @@ struct _glibtop_proclist
* @which: a #GLIBTOP_* constant specifying process type * @which: a #GLIBTOP_* constant specifying process type
* @arg: an argument specific for the 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 * ids
*/ */
pid_t* pid_t*
@@ -152,7 +152,7 @@ glibtop_get_proclist(glibtop_proclist *buf, gint64 which, gint64 arg);
* @which: a #GLIBTOP_* constant specifying process type * @which: a #GLIBTOP_* constant specifying process type
* @arg: an argument specific for the 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 * ids
*/ */
pid_t* pid_t*
@@ -169,7 +169,7 @@ void _glibtop_init_proclist_p (glibtop *server);
* @which: a #GLIBTOP_* constant specifying process type * @which: a #GLIBTOP_* constant specifying process type
* @arg: an argument specific for the 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 * ids
*/ */
pid_t* pid_t*
@@ -185,7 +185,7 @@ void _glibtop_init_proclist_s (glibtop *server);
* @which: a #GLIBTOP_* constant specifying process type * @which: a #GLIBTOP_* constant specifying process type
* @arg: an argument specific for the 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 * ids
*/ */
pid_t* pid_t*

View File

@@ -98,7 +98,7 @@ struct _glibtop_proc_map
* @buf: * @buf:
* @pid: * @pid:
* *
* Returns: (transfer none): * Returns: (transfer full) (array zero-terminated=1):
*/ */
glibtop_map_entry * glibtop_map_entry *
glibtop_get_proc_map(glibtop_proc_map *buf, pid_t pid); 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): * @buf: (out):
* @pid: * @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): * @buf: (out):
* @pid: * @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): * @buf: (out):
* @pid: * @pid:
* *
* Returns: (transfer none): * Returns: (transfer full) (array zero-terminated=1):
*/ */
#if GLIBTOP_SUID_PROC_MAP #if GLIBTOP_SUID_PROC_MAP

View File

@@ -99,7 +99,7 @@ struct _glibtop_proc_open_files
* @buf: * @buf:
* @pid: * @pid:
* *
* Returns: (transfer none): * Returns: (transfer full) (array zero-terminated=1):
*/ */
glibtop_open_files_entry * glibtop_open_files_entry *
@@ -118,7 +118,7 @@ glibtop_get_proc_open_files(glibtop_proc_open_files *buf, pid_t pid);
* @buf: (out): * @buf: (out):
* @pid: * @pid:
* *
* Returns: (transfer none): * Returns: (transfer full) (array zero-terminated=1):
*/ */
glibtop_open_files_entry * glibtop_open_files_entry *
@@ -134,7 +134,7 @@ void _glibtop_init_proc_open_files_p (glibtop *server);
* @buf: (out): * @buf: (out):
* @pid: * @pid:
* *
* Returns: (transfer none): * Returns: (transfer full) (array zero-terminated=1):
*/ */
glibtop_open_files_entry * glibtop_open_files_entry *