gst/gstinfo.h: Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly to print...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 9 Oct 2007 20:45:13 +0000 (20:45 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 9 Oct 2007 20:45:13 +0000 (20:45 +0000)
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
gst/gstinfo.h

index 435e5a9..9c68c4a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 0c6461e..8864fc3 100644 (file)
@@ -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