[libgtop] Fix a bunch of doc tags for GI.
- From: Benoît Dejean <bdejean src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] Fix a bunch of doc tags for GI.
- Date: Tue, 25 Aug 2015 20:34:15 +0000 (UTC)
commit e528a7280b89c9439e7a7798eb8cf8a7b594d52c
Author: Benoît Dejean <bdejean gmail com>
Date: Tue Aug 25 22:32:06 2015 +0200
Fix a bunch of doc tags for GI.
include/glibtop/mountlist.h | 2 +-
include/glibtop/procargs.h | 9 +++++++++
include/glibtop/procmap.h | 9 +++++----
include/glibtop/procmem.h | 6 ++++++
include/glibtop/procopenfiles.h | 2 +-
include/glibtop/procwd.h | 7 +++++++
6 files changed, 29 insertions(+), 6 deletions(-)
---
diff --git a/include/glibtop/mountlist.h b/include/glibtop/mountlist.h
index 2517494..f4691b3 100644
--- a/include/glibtop/mountlist.h
+++ b/include/glibtop/mountlist.h
@@ -55,7 +55,7 @@ struct _glibtop_mountlist
/**
* glibtop_get_mountlist:
- * @buf: (out):
+ * @buf:
* @all_fs:
*
* Returns: (transfer full):
diff --git a/include/glibtop/procargs.h b/include/glibtop/procargs.h
index e0b61f2..89d51e4 100644
--- a/include/glibtop/procargs.h
+++ b/include/glibtop/procargs.h
@@ -79,6 +79,15 @@ char **
glibtop_get_proc_argv_l (glibtop *server, glibtop_proc_args *buf,
pid_t pid, unsigned max_len);
+/**
+ * glibtop_get_proc_argv:
+ * @buf:
+ * @pid:
+ * @max_len:
+ *
+ * Returns: (transfer full):
+ */
+
char **
glibtop_get_proc_argv (glibtop_proc_args *buf, pid_t pid, unsigned max_len);
diff --git a/include/glibtop/procmap.h b/include/glibtop/procmap.h
index a61125b..e0516d7 100644
--- a/include/glibtop/procmap.h
+++ b/include/glibtop/procmap.h
@@ -92,17 +92,18 @@ struct _glibtop_proc_map
guint64 total; /* GLIBTOP_PROC_MAP_TOTAL */
guint64 size; /* GLIBTOP_PROC_MAP_SIZE */
};
-glibtop_map_entry *
-glibtop_get_proc_map(glibtop_proc_map *buf, pid_t pid);
-
/**
* glibtop_get_proc_map:
- * @buf: (out):
+ * @buf:
* @pid:
*
* Returns: (transfer none):
*/
+glibtop_map_entry *
+glibtop_get_proc_map(glibtop_proc_map *buf, pid_t pid);
+
+
/**
* glibtop_get_proc_map_l:
diff --git a/include/glibtop/procmem.h b/include/glibtop/procmem.h
index 5a3ac7a..9e688d4 100644
--- a/include/glibtop/procmem.h
+++ b/include/glibtop/procmem.h
@@ -53,6 +53,12 @@ struct _glibtop_proc_mem
* of the process; usually 2,147,483,647 */
};
+/**
+ * glibtop_get_proc_map:
+ * @buf:
+ * @pid:
+ *
+ */
void glibtop_get_proc_mem(glibtop_proc_mem *buf, pid_t pid);
#if GLIBTOP_SUID_PROC_MEM
diff --git a/include/glibtop/procopenfiles.h b/include/glibtop/procopenfiles.h
index ef89e74..31320eb 100644
--- a/include/glibtop/procopenfiles.h
+++ b/include/glibtop/procopenfiles.h
@@ -96,7 +96,7 @@ struct _glibtop_proc_open_files
/**
* glibtop_get_proc_open_files:
- * @buf: (out):
+ * @buf:
* @pid:
*
* Returns: (transfer none):
diff --git a/include/glibtop/procwd.h b/include/glibtop/procwd.h
index 763bf32..5fb1771 100644
--- a/include/glibtop/procwd.h
+++ b/include/glibtop/procwd.h
@@ -44,6 +44,13 @@ struct _glibtop_proc_wd
};
+/**
+ * glibtop_get_proc_wd:
+ * @buf:
+ * @pid:
+ *
+ * Returns: (transfer full):
+ */
char ** glibtop_get_proc_wd(glibtop_proc_wd *buf, pid_t pid);
char ** glibtop_get_proc_wd_l(glibtop *server, glibtop_proc_wd *buf, pid_t pid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]