gl: cocoa: sprinkle some GST_EXPORT

Undefined symbols for architecture x86_64:
  "_gst_gl_context_cocoa_get_type", referenced from:
      __create_layer in libgstopengl_la-caopengllayersink.o

Might need some more in other headers, but first need to
clarify what exactly should be exported, there are some
inconsistencies (installed header files vs. funcs in docs).
This commit is contained in:
Tim-Philipp Müller 2017-11-26 22:36:35 +00:00
parent df039b3544
commit 94d798c333

View file

@ -28,6 +28,7 @@
G_BEGIN_DECLS
GST_EXPORT
GType gst_gl_display_cocoa_get_type (void);
#define GST_TYPE_GL_DISPLAY_COCOA (gst_gl_display_cocoa_get_type())
@ -55,6 +56,7 @@ struct _GstGLDisplayCocoaClass
GstGLDisplayClass object_class;
};
GST_EXPORT
GstGLDisplayCocoa *gst_gl_display_cocoa_new (void);
G_END_DECLS