androidmedia: Fix indention

This commit is contained in:
Sebastian Dröge 2015-03-15 16:38:29 +00:00
parent 66f315d6a6
commit 1580336152
2 changed files with 24 additions and 24 deletions

View file

@ -678,15 +678,15 @@ _type gst_amc_jni_call_##_name##_method (JNIEnv *env, GError ** err, jobject obj
return (_type) ret; \ return (_type) ret; \
} }
CALL_TYPE_METHOD (gboolean, boolean, Boolean, FALSE) CALL_TYPE_METHOD (gboolean, boolean, Boolean, FALSE);
CALL_TYPE_METHOD (gint8, byte, Byte, G_MININT8) CALL_TYPE_METHOD (gint8, byte, Byte, G_MININT8);
CALL_TYPE_METHOD (gshort, short, Short, G_MINSHORT) CALL_TYPE_METHOD (gshort, short, Short, G_MINSHORT);
CALL_TYPE_METHOD (gint, int, Int, G_MININT) CALL_TYPE_METHOD (gint, int, Int, G_MININT);
CALL_TYPE_METHOD (gchar, char, Char, 0) CALL_TYPE_METHOD (gchar, char, Char, 0);
CALL_TYPE_METHOD (glong, long, Long, G_MINLONG) CALL_TYPE_METHOD (glong, long, Long, G_MINLONG);
CALL_TYPE_METHOD (gfloat, float, Float, G_MINFLOAT) CALL_TYPE_METHOD (gfloat, float, Float, G_MINFLOAT);
CALL_TYPE_METHOD (gdouble, double, Double, G_MINDOUBLE) CALL_TYPE_METHOD (gdouble, double, Double, G_MINDOUBLE);
CALL_TYPE_METHOD (jobject, object, Object, NULL) CALL_TYPE_METHOD (jobject, object, Object, NULL);
gboolean gboolean
gst_amc_jni_call_void_method (JNIEnv * env, GError ** err, jobject obj, gst_amc_jni_call_void_method (JNIEnv * env, GError ** err, jobject obj,
@ -722,5 +722,5 @@ _type gst_amc_jni_get_##_name##_field (JNIEnv *env, GError ** err, jobject obj,
return res; \ return res; \
} }
GET_TYPE_FIELD (gint, int, Int, G_MININT) GET_TYPE_FIELD (gint, int, Int, G_MININT);
GET_TYPE_FIELD (glong, long, Long, G_MINLONG) GET_TYPE_FIELD (glong, long, Long, G_MINLONG);

View file

@ -88,17 +88,17 @@ gboolean gst_amc_jni_is_vm_started (void);
JNIEnv *gst_amc_jni_get_env (void); JNIEnv *gst_amc_jni_get_env (void);
#define DEF_CALL_TYPE_METHOD(_type, _name, _jname, _retval) \ #define DEF_CALL_TYPE_METHOD(_type, _name, _jname, _retval) \
_type gst_amc_jni_call_##_name##_method (JNIEnv *env, GError ** err, jobject obj, jmethodID methodID, ...); _type gst_amc_jni_call_##_name##_method (JNIEnv *env, GError ** err, jobject obj, jmethodID methodID, ...)
DEF_CALL_TYPE_METHOD (gboolean, boolean, Boolean, FALSE) DEF_CALL_TYPE_METHOD (gboolean, boolean, Boolean, FALSE);
DEF_CALL_TYPE_METHOD (gint8, byte, Byte, G_MININT8) DEF_CALL_TYPE_METHOD (gint8, byte, Byte, G_MININT8);
DEF_CALL_TYPE_METHOD (gshort, short, Short, G_MINSHORT) DEF_CALL_TYPE_METHOD (gshort, short, Short, G_MINSHORT);
DEF_CALL_TYPE_METHOD (gint, int, Int, G_MININT) DEF_CALL_TYPE_METHOD (gint, int, Int, G_MININT);
DEF_CALL_TYPE_METHOD (gchar, char, Char, 0) DEF_CALL_TYPE_METHOD (gchar, char, Char, 0);
DEF_CALL_TYPE_METHOD (glong, long, Long, G_MINLONG) DEF_CALL_TYPE_METHOD (glong, long, Long, G_MINLONG);
DEF_CALL_TYPE_METHOD (gfloat, float, Float, G_MINFLOAT) DEF_CALL_TYPE_METHOD (gfloat, float, Float, G_MINFLOAT);
DEF_CALL_TYPE_METHOD (gdouble, double, Double, G_MINDOUBLE) DEF_CALL_TYPE_METHOD (gdouble, double, Double, G_MINDOUBLE);
DEF_CALL_TYPE_METHOD (jobject, object, Object, NULL) DEF_CALL_TYPE_METHOD (jobject, object, Object, NULL);
gboolean gst_amc_jni_call_void_method (JNIEnv * env, gboolean gst_amc_jni_call_void_method (JNIEnv * env,
GError ** error, GError ** error,
@ -106,9 +106,9 @@ gboolean gst_amc_jni_call_void_method (JNIEnv * env,
jmethodID method, ...); jmethodID method, ...);
#define DEF_GET_TYPE_FIELD(_type, _name, _jname, _retval) \ #define DEF_GET_TYPE_FIELD(_type, _name, _jname, _retval) \
_type gst_amc_jni_get_##_name##_field (JNIEnv *env, GError ** err, jobject obj, jfieldID fieldID); _type gst_amc_jni_get_##_name##_field (JNIEnv *env, GError ** err, jobject obj, jfieldID fieldID)
DEF_GET_TYPE_FIELD (gint, int, Int, G_MININT) DEF_GET_TYPE_FIELD (gint, int, Int, G_MININT);
DEF_GET_TYPE_FIELD (glong, long, Long, G_MINLONG) DEF_GET_TYPE_FIELD (glong, long, Long, G_MINLONG);
#endif #endif