queuearray: Add G_BEGIN_DECLS and G_END_DECLS to make it usable from C++ code
authorSebastian Dröge <sebastian@centricular.com>
Fri, 24 Mar 2017 12:21:30 +0000 (14:21 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 24 Mar 2017 12:21:55 +0000 (14:21 +0200)
libs/gst/base/gstqueuearray.h

index 7c94462..917c65d 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef __GST_QUEUE_ARRAY_H__
 #define __GST_QUEUE_ARRAY_H__
 
+G_BEGIN_DECLS
+
 /**
  * GstQueueArray: (skip)
  */
@@ -66,4 +68,6 @@ gboolean        gst_queue_array_drop_struct      (GstQueueArray * array,
                                                   guint           idx,
                                                   gpointer        p_struct);
 
+G_END_DECLS
+
 #endif