mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
f9f0df62e8
commit
58a5ccec56
3 changed files with 8 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue