mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
gst/gstinfo.h: Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly to print the entire class/function signatu...
Original commit message from CVS: * gst/gstinfo.h: Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly to print the entire class/function signature into the log file for C++ code. This only affects C++ code, for C code everything remains the same.
This commit is contained in:
parent
9d731d1e11
commit
a639f7abfc
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstinfo.h:
|
||||
Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
|
||||
to print the entire class/function signature into the log
|
||||
file for C++ code. This only affects C++ code, for C code
|
||||
everything remains the same.
|
||||
|
||||
2007-10-09 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* gst/gstbin.c: (remove_from_queue):
|
||||
|
|
|
@ -215,7 +215,7 @@ struct _GstDebugCategory {
|
|||
*/
|
||||
#ifndef GST_FUNCTION
|
||||
#if defined (__GNUC__)
|
||||
# define GST_FUNCTION ((const char*) (__PRETTY_FUNCTION__))
|
||||
# define GST_FUNCTION ((const char*) (__FUNCTION__))
|
||||
#elif defined (G_HAVE_ISO_VARARGS)
|
||||
# define GST_FUNCTION ((const char*) (__func__))
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue