pad: move debug function closer to the enum it debugs
authorWim Taymans <wtaymans@redhat.com>
Thu, 21 Nov 2013 11:28:00 +0000 (12:28 +0100)
committerWim Taymans <wtaymans@redhat.com>
Thu, 21 Nov 2013 11:28:00 +0000 (12:28 +0100)
gst/gstpad.h

index 13d4571..04c2094 100644 (file)
@@ -61,6 +61,8 @@ typedef enum {
   GST_PAD_MODE_PULL
 } GstPadMode;
 
+const gchar   * gst_pad_mode_get_name (GstPadMode mode);
+
 #include <gst/gstobject.h>
 #include <gst/gstbuffer.h>
 #include <gst/gstbufferlist.h>
@@ -1000,8 +1002,6 @@ gboolean          gst_pad_query_default                   (GstPad *pad, GstObject *parent,
 gboolean               gst_pad_forward                         (GstPad *pad, GstPadForwardFunction forward,
                                                                 gpointer user_data);
 
-const gchar   * gst_pad_mode_get_name (GstPadMode mode);
-
 G_END_DECLS
 
 #endif /* __GST_PAD_H__ */