opencvutils: add extern C, for the opencv elements work.

Adding G_BEGIN_DECLS and G_END_DECLS to gstopencvutils.h
to allow C-style linking.

https://bugzilla.gnome.org/show_bug.cgi?id=754148
This commit is contained in:
Vanessa Chipirrás Navalón 2015-08-31 17:43:26 +02:00 committed by Luis de Bethencourt
parent e2709ed2ef
commit 1c9763c0eb

View file

@ -30,7 +30,7 @@
#include <gst/video/video.h>
G_BEGIN_DECLS
gboolean
gst_opencv_get_ipldepth (gint depth, gint bpp, gint * ipldepth);
@ -42,5 +42,6 @@ gboolean gst_opencv_parse_iplimage_params_from_structure
gint * channels, GError ** err);
GstCaps * gst_opencv_caps_from_cv_image_type (int cv_type);
G_END_DECLS
#endif /* __GST_OPENCV_UTILS__ */