win32/common/gstconfig.h: Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to...
authorTim-Philipp Müller <tim@centricular.net>
Sat, 28 Oct 2006 15:03:19 +0000 (15:03 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 28 Oct 2006 15:03:19 +0000 (15:03 +0000)
Original commit message from CVS:
* win32/common/gstconfig.h:
Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
hand-made win32 gstconfig.h. Fixes #366321.

ChangeLog
win32/common/gstconfig.h

index 233cfe8..254ecd6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * win32/common/gstconfig.h:
+         Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
+         hand-made win32 gstconfig.h. Fixes #366321.
+
 2006-10-27  Wim Taymans  <wim@fluendo.com>
 
        * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
index 28ecebb..e92bcd5 100644 (file)
  */
 #define GST_PTR_FORMAT "p"
 
+/**
+ * GST_SEGMENT_FORMAT:
+ *
+ * printf format type used to debug GStreamer segments.
+ * This can only be used on pointers to GstSegment structures.
+ *
+ * Since: 0.10.10
+ */
+#define GST_SEGMENT_FORMAT "p"
+
+/* whether or not GST_PTR_FORMAT or GST_SEGMENT_FORMAT are using
+ * the printf extension mechanism. This is for internal use in our
+ * header files so we know whether we can use G_GNUC_PRINTF or not */
+#undef GST_USING_PRINTF_EXTENSION
+
 /* whether or not the CPU supports unaligned access */
 #define GST_HAVE_UNALIGNED_ACCESS 1