androidcamera: Add G_BEGIN/END_DECLS to the .h

This commit is contained in:
Youness Alaoui 2012-11-28 15:26:49 -05:00 committed by Nicolas Dufresne
parent 4a2a73b13f
commit eb949625b9
3 changed files with 8 additions and 0 deletions

View file

@ -26,6 +26,7 @@
#include <jni.h>
G_BEGIN_DECLS
/* android.graphics.ImageFormat */
extern gint ImageFormat_JPEG;
@ -41,6 +42,7 @@ void gst_android_graphics_imageformat_deinit (void);
gint gst_ag_imageformat_get_bits_per_pixel (gint format);
G_END_DECLS
#endif /* __GST_ANDROID_GRAPHICS_IMAGEFORMAT_H__ */

View file

@ -26,6 +26,8 @@
#include <jni.h>
G_BEGIN_DECLS
typedef struct _GstAGSurfaceTexture GstAGSurfaceTexture;
/* android.graphics.SurfaceTexture */
@ -42,6 +44,7 @@ void gst_android_graphics_surfacetexture_deinit (void);
GstAGSurfaceTexture *gst_ag_surfacetexture_new (gint texture_id);
void gst_ag_surfacetexture_release (GstAGSurfaceTexture *self);
G_END_DECLS
#endif /* __GST_ANDROID_GRAPHICS_SURFACETEXTURE_H__ */

View file

@ -28,6 +28,8 @@
#include "gst-android-graphics-surfacetexture.h"
#include "gst-android-graphics-imageformat.h"
G_BEGIN_DECLS
typedef struct _GstAHCamera GstAHCamera;
typedef struct _GstAHCCameraInfo GstAHCCameraInfo;
typedef struct _GstAHCSize GstAHCSize;
@ -241,5 +243,6 @@ gboolean gst_ahc_parameters_unflatten (GstAHCParameters * self,
const gchar * flattened);
void gst_ahc_parameters_free (GstAHCParameters * self);
G_END_DECLS
#endif /* __GST_ANDROID_HARDWARE_CAMERA_H__ */