gst/gstinfo.h (GST_FUNCTION): Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.

Original commit message from CVS:
* gst/gstinfo.h (GST_FUNCTION):
Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
This commit is contained in:
Ole André Vadla Ravnås 2008-05-07 18:51:22 +00:00
parent 640d16a2bc
commit bbca7f21d7
3 changed files with 7 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
* gst/gstinfo.h (GST_FUNCTION):
Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
* libs/gst/base/gstadapter.c: (gst_adapter_available_fast):

2
common

@ -1 +1 @@
Subproject commit 9b28214399156457fd6b43d0604a47e4bdf19c28
Subproject commit ba3dd2882b1611f8115f9664e3b85e1fd956b53d

View file

@ -215,13 +215,7 @@ struct _GstDebugCategory {
* output with the function name of the message.
*/
#ifndef GST_FUNCTION
#if defined (__GNUC__)
# define GST_FUNCTION ((const char*) (__FUNCTION__))
#elif defined (G_HAVE_ISO_VARARGS)
# define GST_FUNCTION ((const char*) (__func__))
#else
# define GST_FUNCTION ((const char*) ("???"))
#endif
# define GST_FUNCTION G_STRFUNC
#endif /* ifndef GST_FUNCTION */