+2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
+
+ * docs/gst/gstreamer-sections.txt:
+ * gst/gstmessage.h:
+ * gst/gstquery.h:
+ New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
+ macros (#330906). Also, document the already existing
+ GST_QUERY_TYPE macro.
+
2006-02-13 Wim Taymans <wim@fluendo.com>
* tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
GST_MESSAGE_SRC
GST_MESSAGE_TIMESTAMP
GST_MESSAGE_TYPE
+GST_MESSAGE_TYPE_NAME
GST_MESSAGE_TRACE_NAME
gst_message_type_to_quark
gst_message_type_get_name
<TITLE>GstQuery</TITLE>
GstQuery
GstQueryType
+GST_QUERY_TYPE
+GST_QUERY_TYPE_NAME
GST_QUERY_TYPE_RATE_DEN
GstQueryTypeDefinition
*/
#define GST_MESSAGE_TYPE(message) (GST_MESSAGE(message)->type)
/**
+ * GST_MESSAGE_TYPE_NAME:
+ * @message: a #GstMessage
+ *
+ * Get a constant string representation of the #GstMessageType of @message.
+ *
+ * Since: 0.10.4
+ */
+#define GST_MESSAGE_TYPE_NAME(message) gst_message_type_get_name(GST_MESSAGE_TYPE(message))
+/**
* GST_MESSAGE_TIMESTAMP:
* @message: a #GstMessage
*
#define GST_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_QUERY, GstQuery))
#define GST_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_QUERY, GstQueryClass))
+/**
+ * GST_QUERY_TYPE:
+ * @query: the query to query
+ *
+ * Get the #GstQueryType of the query.
+ */
#define GST_QUERY_TYPE(query) (((GstQuery*)(query))->type)
/**
+ * GST_QUERY_TYPE_NAME:
+ * @query: the query to query
+ *
+ * Get a constant string representation of the #GstQueryType of the query.
+ *
+ * Since: 0.10.4
+ */
+#define GST_QUERY_TYPE_NAME(query) (gst_query_type_get_name(GST_QUERY_TYPE(query)))
+
+
+/**
* GstQuery:
* @mini_object: The parent #GstMiniObject type
* @type: the #GstQueryType