make GDebugKeys argument const
authorHavoc Pennington <hp@redhat.com>
Mon, 16 Apr 2001 15:04:17 +0000 (15:04 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Mon, 16 Apr 2001 15:04:17 +0000 (15:04 +0000)
2001-03-23  Havoc Pennington  <hp@redhat.com>

* gutils.c (g_parse_debug_string): make GDebugKeys argument
const

12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gutils.c
glib/gutils.h
gutils.c
gutils.h

index 80d7f5d..78d3113 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-23  Havoc Pennington  <hp@redhat.com>
+
+       * gutils.c (g_parse_debug_string): make GDebugKeys argument 
+       const
+
 2001-04-14  Hans Breuer  <hans@breuer.org>
 
        * glib.def : 
index 80d7f5d..78d3113 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-23  Havoc Pennington  <hp@redhat.com>
+
+       * gutils.c (g_parse_debug_string): make GDebugKeys argument 
+       const
+
 2001-04-14  Hans Breuer  <hans@breuer.org>
 
        * glib.def : 
index 80d7f5d..78d3113 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-23  Havoc Pennington  <hp@redhat.com>
+
+       * gutils.c (g_parse_debug_string): make GDebugKeys argument 
+       const
+
 2001-04-14  Hans Breuer  <hans@breuer.org>
 
        * glib.def : 
index 80d7f5d..78d3113 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-23  Havoc Pennington  <hp@redhat.com>
+
+       * gutils.c (g_parse_debug_string): make GDebugKeys argument 
+       const
+
 2001-04-14  Hans Breuer  <hans@breuer.org>
 
        * glib.def : 
index 80d7f5d..78d3113 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-23  Havoc Pennington  <hp@redhat.com>
+
+       * gutils.c (g_parse_debug_string): make GDebugKeys argument 
+       const
+
 2001-04-14  Hans Breuer  <hans@breuer.org>
 
        * glib.def : 
index 80d7f5d..78d3113 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-23  Havoc Pennington  <hp@redhat.com>
+
+       * gutils.c (g_parse_debug_string): make GDebugKeys argument 
+       const
+
 2001-04-14  Hans Breuer  <hans@breuer.org>
 
        * glib.def : 
index 80d7f5d..78d3113 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-23  Havoc Pennington  <hp@redhat.com>
+
+       * gutils.c (g_parse_debug_string): make GDebugKeys argument 
+       const
+
 2001-04-14  Hans Breuer  <hans@breuer.org>
 
        * glib.def : 
index 80d7f5d..78d3113 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-23  Havoc Pennington  <hp@redhat.com>
+
+       * gutils.c (g_parse_debug_string): make GDebugKeys argument 
+       const
+
 2001-04-14  Hans Breuer  <hans@breuer.org>
 
        * glib.def : 
index c784a58..4b9f69f 100644 (file)
@@ -421,9 +421,9 @@ g_vsnprintf (gchar   *str,
 }
 
 guint       
-g_parse_debug_string  (const gchar *string, 
-                      GDebugKey   *keys, 
-                      guint        nkeys)
+g_parse_debug_string  (const gchar     *string, 
+                      const GDebugKey *keys, 
+                      guint            nkeys)
 {
   guint i;
   guint result = 0;
index 2da2048..f9a7b52 100644 (file)
@@ -130,9 +130,10 @@ struct _GDebugKey
 
 /* Miscellaneous utility functions
  */
-guint                 g_parse_debug_string (const gchar *string,
-                                           GDebugKey   *keys,
-                                           guint        nkeys);
+guint                 g_parse_debug_string (const gchar     *string,
+                                           const GDebugKey *keys,
+                                           guint            nkeys);
+
 gint                  g_snprintf           (gchar       *string,
                                            gulong       n,
                                            gchar const *format,
index c784a58..4b9f69f 100644 (file)
--- a/gutils.c
+++ b/gutils.c
@@ -421,9 +421,9 @@ g_vsnprintf (gchar   *str,
 }
 
 guint       
-g_parse_debug_string  (const gchar *string, 
-                      GDebugKey   *keys, 
-                      guint        nkeys)
+g_parse_debug_string  (const gchar     *string, 
+                      const GDebugKey *keys, 
+                      guint            nkeys)
 {
   guint i;
   guint result = 0;
index 2da2048..f9a7b52 100644 (file)
--- a/gutils.h
+++ b/gutils.h
@@ -130,9 +130,10 @@ struct _GDebugKey
 
 /* Miscellaneous utility functions
  */
-guint                 g_parse_debug_string (const gchar *string,
-                                           GDebugKey   *keys,
-                                           guint        nkeys);
+guint                 g_parse_debug_string (const gchar     *string,
+                                           const GDebugKey *keys,
+                                           guint            nkeys);
+
 gint                  g_snprintf           (gchar       *string,
                                            gulong       n,
                                            gchar const *format,