diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/ChangeLog | 4 | ||||
-rw-r--r-- | doc/reference.texi | 14 | ||||
-rw-r--r-- | include/glibtop/procmap.h | 18 |
4 files changed, 26 insertions, 16 deletions
@@ -1,3 +1,9 @@ +2004-03-05 Bastien Nocera <hadess@hadess.net> + + * include/glibtop/procmap.h: patch by Benoit Dejean <bnet@ifrance.com> + to break the API, I mean, to make it easier to generate Python bindings + (Closes: #129701) + 2004-03-04 Bastien Nocera <hadess@hadess.net> * configure.in: diff --git a/doc/ChangeLog b/doc/ChangeLog index bc351c7a..cc16e867 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2004-03-05 Bastien Nocera <hadess@hadess.net> + + * reference.texi: update for new API + 2003-10-20 Bastien Nocera <hadess@hadess.net> * reference.texi: s/u_int64_t/guint64/ diff --git a/doc/reference.texi b/doc/reference.texi index 9934b5b5..2989c7cd 100644 --- a/doc/reference.texi +++ b/doc/reference.texi @@ -1175,13 +1175,13 @@ fields are valid: @example @cartouche -#define GLIBTOP_MAP_ENTRY_START 1 -#define GLIBTOP_MAP_ENTRY_END 2 -#define GLIBTOP_MAP_ENTRY_OFFSET 3 -#define GLIBTOP_MAP_ENTRY_PERM 4 -#define GLIBTOP_MAP_ENTRY_INODE 5 -#define GLIBTOP_MAP_ENTRY_DEVICE 6 -#define GLIBTOP_MAP_ENTRY_FILENAME 7 +#define GLIBTOP_MAP_ENTRY_START 0 +#define GLIBTOP_MAP_ENTRY_END 1 +#define GLIBTOP_MAP_ENTRY_OFFSET 2 +#define GLIBTOP_MAP_ENTRY_PERM 3 +#define GLIBTOP_MAP_ENTRY_INODE 4 +#define GLIBTOP_MAP_ENTRY_DEVICE 5 +#define GLIBTOP_MAP_ENTRY_FILENAME 6 @end cartouche @end example diff --git a/include/glibtop/procmap.h b/include/glibtop/procmap.h index 1f04b1a6..083904e3 100644 --- a/include/glibtop/procmap.h +++ b/include/glibtop/procmap.h @@ -35,15 +35,15 @@ G_BEGIN_DECLS #define GLIBTOP_MAX_PROC_MAP 3 -#define GLIBTOP_MAP_ENTRY_START 1 -#define GLIBTOP_MAP_ENTRY_END 2 -#define GLIBTOP_MAP_ENTRY_OFFSET 3 -#define GLIBTOP_MAP_ENTRY_PERM 4 -#define GLIBTOP_MAP_ENTRY_INODE 5 -#define GLIBTOP_MAP_ENTRY_DEVICE 6 -#define GLIBTOP_MAP_ENTRY_FILENAME 7 - -#define GLIBTOP_MAX_MAP_ENTRY 8 +#define GLIBTOP_MAP_ENTRY_START 0 +#define GLIBTOP_MAP_ENTRY_END 1 +#define GLIBTOP_MAP_ENTRY_OFFSET 2 +#define GLIBTOP_MAP_ENTRY_PERM 3 +#define GLIBTOP_MAP_ENTRY_INODE 4 +#define GLIBTOP_MAP_ENTRY_DEVICE 5 +#define GLIBTOP_MAP_ENTRY_FILENAME 6 + +#define GLIBTOP_MAX_MAP_ENTRY 7 #define GLIBTOP_MAP_FILENAME_LEN 215 |