[libgtop] All fields in glibtop_* are public. The flags indicates which fields were set.



commit 2f08841044dee560fc5e6a089f024dcd82ad8021
Author: Benoît Dejean <bdejean gmail com>
Date:   Tue May 23 06:27:28 2017 +0200

    All fields in glibtop_* are public. The flags indicates which fields were set.

 include/glibtop/procio.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/include/glibtop/procio.h b/include/glibtop/procio.h
index 86c06e5..494b011 100644
--- a/include/glibtop/procio.h
+++ b/include/glibtop/procio.h
@@ -56,9 +56,7 @@ typedef struct _glibtop_proc_io       glibtop_proc_io;
  */
 struct _glibtop_proc_io
 {
-    /*< private >*/
        guint64 flags;
-       /*< public >*/
        guint64 disk_rchar;
        guint64 disk_wchar;
        guint64 disk_rbytes;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]