From a639f7abfccd82fbde9313150950b8f13daa0bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 9 Oct 2007 20:45:13 +0000 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ gst/gstinfo.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 435e5a967f..9c68c4a435 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-10-09 Tim-Philipp Müller + + * 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 * gst/gstbin.c: (remove_from_queue): diff --git a/gst/gstinfo.h b/gst/gstinfo.h index 0c6461e522..8864fc3b1f 100644 --- a/gst/gstinfo.h +++ b/gst/gstinfo.h @@ -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