Fix several array and transfer annotations
This commit is contained in:
@@ -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 *
|
||||
|
@@ -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);
|
||||
|
@@ -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*
|
||||
|
@@ -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
|
||||
|
@@ -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 *
|
||||
|
Reference in New Issue
Block a user