mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
gst/gstinfo.*: Change name parameter of _gst_debug_register_funcptr to const to reflect the constness of its use in t...
Original commit message from CVS: * gst/gstinfo.c: * gst/gstinfo.h: Change name parameter of _gst_debug_register_funcptr to const to reflect the constness of its use in the function as well as to quiet a gcc warning.
This commit is contained in:
parent
8171460bdf
commit
504274019d
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2006-10-25 David Schleef <ds@schleef.org>
|
||||
|
||||
* gst/gstinfo.c:
|
||||
* gst/gstinfo.h:
|
||||
Change name parameter of _gst_debug_register_funcptr to const
|
||||
to reflect the constness of its use in the function as well
|
||||
as to quiet a gcc warning.
|
||||
|
||||
2006-10-25 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
|
||||
|
|
|
@ -1249,7 +1249,7 @@ _gst_debug_nameof_funcptr (GstDebugFuncPtr ptr)
|
|||
}
|
||||
|
||||
void
|
||||
_gst_debug_register_funcptr (GstDebugFuncPtr func, gchar * ptrname)
|
||||
_gst_debug_register_funcptr (GstDebugFuncPtr func, const gchar * ptrname)
|
||||
{
|
||||
gpointer ptr = (gpointer) func;
|
||||
|
||||
|
|
|
@ -887,7 +887,7 @@ GST_LOG (const char *format, ...)
|
|||
|
||||
typedef void (* GstDebugFuncPtr) (void);
|
||||
void _gst_debug_register_funcptr (GstDebugFuncPtr func,
|
||||
gchar * ptrname);
|
||||
const gchar * ptrname);
|
||||
G_CONST_RETURN gchar *
|
||||
_gst_debug_nameof_funcptr (GstDebugFuncPtr func);
|
||||
|
||||
|
|
Loading…
Reference in a new issue