Original commit message from CVS:
2005-10-18 Andy Wingo <wingo@pobox.com>
* gst/gstmessage.override (_wrap_gst_message_tp_repr): Add a repr
for messages.
+2005-10-18 Andy Wingo <wingo@pobox.com>
+
+ * gst/gstmessage.override (_wrap_gst_message_tp_repr): Add a repr
+ for messages.
+
2005-10-14 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
-Subproject commit 3a9d355b657cf710011aa1eaadd64f6723527e14
+Subproject commit 1cb5d7b76a01c711674c752015089e70c394fa99
*/
%%
+override-slot GstMessage.tp_repr
+static PyObject *
+_wrap_gst_message_tp_repr (PyGstMiniObject *self)
+{
+ GstMessage *msg;
+ gchar *repr;
+ PyObject *ret;
+
+ g_assert (self);
+ msg = GST_MESSAGE (self->obj);
+ g_assert (msg);
+
+ repr = g_strdup_printf ("<gst.Message %s at %p>",
+ gst_message_type_get_name (GST_MESSAGE_TYPE (msg)), msg);
+ ret = PyString_FromStringAndSize(repr, strlen (repr));
+ g_free (repr);
+ return ret;
+}
+
+%%
override gst_message_parse_state_changed noargs
static PyObject *
_wrap_gst_message_parse_state_changed (PyGstMiniObject *self)