diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-05-04 15:52:40 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-05-04 15:52:40 (GMT) |
commit | f1633a5fe2fa339657716fc557cc93be61fe766f (patch) | |
tree | c39cb73d752e703f300e8705189ff737fd72d0bc /java/src/jni/h5iImp.c | |
parent | 54316ab54241f1956b5494d6130eb2aeb4a3ace0 (diff) | |
download | hdf5-f1633a5fe2fa339657716fc557cc93be61fe766f.zip hdf5-f1633a5fe2fa339657716fc557cc93be61fe766f.tar.gz hdf5-f1633a5fe2fa339657716fc557cc93be61fe766f.tar.bz2 |
[svn-r29873] Java add missing APIs.
Adjust whitespace in H5.java for exception indentation.
Adjust whitespace in JNI for function signature formatting.
Diffstat (limited to 'java/src/jni/h5iImp.c')
-rw-r--r-- | java/src/jni/h5iImp.c | 42 |
1 files changed, 28 insertions, 14 deletions
diff --git a/java/src/jni/h5iImp.c b/java/src/jni/h5iImp.c index e7d663f..9fce3ef 100644 --- a/java/src/jni/h5iImp.c +++ b/java/src/jni/h5iImp.c @@ -38,7 +38,8 @@ extern jobject visit_callback; * Signature: (J)I */ JNIEXPORT jint JNICALL -Java_hdf_hdf5lib_H5_H5Iget_1type(JNIEnv *env, jclass clss, jlong obj_id) +Java_hdf_hdf5lib_H5_H5Iget_1type + (JNIEnv *env, jclass clss, jlong obj_id) { H5I_type_t retVal = H5I_BADID; @@ -55,7 +56,8 @@ Java_hdf_hdf5lib_H5_H5Iget_1type(JNIEnv *env, jclass clss, jlong obj_id) * Signature: (JLjava/lang/String;J)J */ JNIEXPORT jlong JNICALL -Java_hdf_hdf5lib_H5_H5Iget_1name(JNIEnv *env, jclass clss, jlong obj_id, jobjectArray name, jlong buf_size) +Java_hdf_hdf5lib_H5_H5Iget_1name + (JNIEnv *env, jclass clss, jlong obj_id, jobjectArray name, jlong buf_size) { char *aName; jstring str; @@ -93,7 +95,8 @@ Java_hdf_hdf5lib_H5_H5Iget_1name(JNIEnv *env, jclass clss, jlong obj_id, jobject * Signature: (J)I */ JNIEXPORT jint JNICALL -Java_hdf_hdf5lib_H5_H5Iget_1ref(JNIEnv *env, jclass clss, jlong obj_id) +Java_hdf_hdf5lib_H5_H5Iget_1ref + (JNIEnv *env, jclass clss, jlong obj_id) { int retVal = -1; @@ -110,7 +113,8 @@ Java_hdf_hdf5lib_H5_H5Iget_1ref(JNIEnv *env, jclass clss, jlong obj_id) * Signature: (J)I */ JNIEXPORT jint JNICALL -Java_hdf_hdf5lib_H5_H5Iinc_1ref(JNIEnv *env, jclass clss, jlong obj_id) +Java_hdf_hdf5lib_H5_H5Iinc_1ref + (JNIEnv *env, jclass clss, jlong obj_id) { int retVal = -1; @@ -127,7 +131,8 @@ Java_hdf_hdf5lib_H5_H5Iinc_1ref(JNIEnv *env, jclass clss, jlong obj_id) * Signature: (J)I */ JNIEXPORT jint JNICALL -Java_hdf_hdf5lib_H5_H5Idec_1ref(JNIEnv *env, jclass clss, jlong obj_id) +Java_hdf_hdf5lib_H5_H5Idec_1ref + (JNIEnv *env, jclass clss, jlong obj_id) { int retVal = -1; @@ -145,7 +150,8 @@ Java_hdf_hdf5lib_H5_H5Idec_1ref(JNIEnv *env, jclass clss, jlong obj_id) */ JNIEXPORT jlong JNICALL -Java_hdf_hdf5lib_H5_H5Iget_1file_1id(JNIEnv *env, jclass clss, jlong obj_id) +Java_hdf_hdf5lib_H5_H5Iget_1file_1id + (JNIEnv *env, jclass clss, jlong obj_id) { hid_t file_id = -1; @@ -162,7 +168,8 @@ Java_hdf_hdf5lib_H5_H5Iget_1file_1id(JNIEnv *env, jclass clss, jlong obj_id) * Signature: (I)I */ JNIEXPORT jint JNICALL -Java_hdf_hdf5lib_H5_H5Iget_1type_1ref(JNIEnv *env, jclass clss, jint type) +Java_hdf_hdf5lib_H5_H5Iget_1type_1ref + (JNIEnv *env, jclass clss, jint type) { int retVal = -1; @@ -179,7 +186,8 @@ Java_hdf_hdf5lib_H5_H5Iget_1type_1ref(JNIEnv *env, jclass clss, jint type) * Signature: (I)I */ JNIEXPORT jint JNICALL -Java_hdf_hdf5lib_H5_H5Idec_1type_1ref(JNIEnv *env, jclass clss, jint type) +Java_hdf_hdf5lib_H5_H5Idec_1type_1ref + (JNIEnv *env, jclass clss, jint type) { int retVal = -1; @@ -196,7 +204,8 @@ Java_hdf_hdf5lib_H5_H5Idec_1type_1ref(JNIEnv *env, jclass clss, jint type) * Signature: (I)I */ JNIEXPORT jint JNICALL -Java_hdf_hdf5lib_H5_H5Iinc_1type_1ref(JNIEnv *env, jclass clss, jint type) +Java_hdf_hdf5lib_H5_H5Iinc_1type_1ref + (JNIEnv *env, jclass clss, jint type) { int retVal = -1; @@ -213,7 +222,8 @@ Java_hdf_hdf5lib_H5_H5Iinc_1type_1ref(JNIEnv *env, jclass clss, jint type) * Signature: (I)I */ JNIEXPORT jint JNICALL -Java_hdf_hdf5lib_H5_H5Inmembers(JNIEnv *env, jclass clss, jint type) +Java_hdf_hdf5lib_H5_H5Inmembers + (JNIEnv *env, jclass clss, jint type) { hsize_t num_members; @@ -229,7 +239,8 @@ Java_hdf_hdf5lib_H5_H5Inmembers(JNIEnv *env, jclass clss, jint type) * Signature: (J)Z */ JNIEXPORT jboolean JNICALL -Java_hdf_hdf5lib_H5_H5Iis_1valid(JNIEnv *env, jclass clss, jlong obj_id) +Java_hdf_hdf5lib_H5_H5Iis_1valid + (JNIEnv *env, jclass clss, jlong obj_id) { htri_t bval = JNI_FALSE; @@ -247,7 +258,8 @@ Java_hdf_hdf5lib_H5_H5Iis_1valid(JNIEnv *env, jclass clss, jlong obj_id) * Signature: (I)Z */ JNIEXPORT jboolean JNICALL -Java_hdf_hdf5lib_H5_H5Itype_1exists(JNIEnv *env, jclass clss, jint type) +Java_hdf_hdf5lib_H5_H5Itype_1exists + (JNIEnv *env, jclass clss, jint type) { htri_t bval = JNI_FALSE; @@ -266,7 +278,8 @@ Java_hdf_hdf5lib_H5_H5Itype_1exists(JNIEnv *env, jclass clss, jint type) * Signature: (IZ)V */ JNIEXPORT void JNICALL -Java_hdf_hdf5lib_H5_H5Iclear_1type(JNIEnv *env, jclass clss, jint type, jboolean force) +Java_hdf_hdf5lib_H5_H5Iclear_1type + (JNIEnv *env, jclass clss, jint type, jboolean force) { if (H5Iclear_type((H5I_type_t)type, (hbool_t)force) < 0) h5libraryError(env); @@ -278,7 +291,8 @@ Java_hdf_hdf5lib_H5_H5Iclear_1type(JNIEnv *env, jclass clss, jint type, jboolean * Signature: (I)V */ JNIEXPORT void JNICALL -Java_hdf_hdf5lib_H5_H5Idestroy_1type(JNIEnv *env, jclass clss, jint type) +Java_hdf_hdf5lib_H5_H5Idestroy_1type + (JNIEnv *env, jclass clss, jint type) { if (H5Idestroy_type((H5I_type_t)type) < 0) h5libraryError(env); |