gst/gstutils.*: first argument of gst_util_dump_mem should be const

Original commit message from CVS:
* gst/gstutils.c: (gst_util_dump_mem):
* gst/gstutils.h:
first argument of gst_util_dump_mem should be const
This commit is contained in:
Benjamin Otte 2004-03-22 22:23:50 +00:00
parent f9f0df62e8
commit 58a5ccec56
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2004-03-22 Benjamin Otte <otte@gnome.org>
* gst/gstutils.c: (gst_util_dump_mem):
* gst/gstutils.h:
first argument of gst_util_dump_mem should be const
2004-03-22 Johan Dahlin <johan@gnome.org>
* gst/gstvalue.h: Clean up a little bit.

View file

@ -36,7 +36,7 @@
* Dumps the memory block into a hex representation. Useful for debugging.
*/
void
gst_util_dump_mem (guchar * mem, guint size)
gst_util_dump_mem (const guchar * mem, guint size)
{
guint i, j;
GString *string = g_string_sized_new (50);

View file

@ -32,7 +32,7 @@ G_BEGIN_DECLS
void gst_util_set_value_from_string (GValue *value, const gchar *value_str);
void gst_util_set_object_arg (GObject *object, const gchar *name, const gchar *value);
void gst_util_dump_mem (guchar *mem, guint size);
void gst_util_dump_mem (const guchar *mem, guint size);
void gst_print_pad_caps (GString *buf, gint indent, GstPad *pad);
void gst_print_element_args (GString *buf, gint indent, GstElement *element);