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/h5sImp.h | |
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/h5sImp.h')
-rw-r--r-- | java/src/jni/h5sImp.h | 144 |
1 files changed, 87 insertions, 57 deletions
diff --git a/java/src/jni/h5sImp.h b/java/src/jni/h5sImp.h index 007b9a7..fd2184d 100644 --- a/java/src/jni/h5sImp.h +++ b/java/src/jni/h5sImp.h @@ -28,24 +28,27 @@ extern "C" { * Method: _H5Screate * Signature: (I)J */ -JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5__1H5Screate( - JNIEnv *, jclass, jint); +JNIEXPORT jlong JNICALL +Java_hdf_hdf5lib_H5__1H5Screate +(JNIEnv *, jclass, jint); /* * Class: hdf_hdf5lib_H5 * Method: _H5Screate_simple * Signature: (I[J[J)J */ -JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5__1H5Screate_1simple( - JNIEnv *, jclass, jint, jlongArray, jlongArray); +JNIEXPORT jlong JNICALL +Java_hdf_hdf5lib_H5__1H5Screate_1simple +(JNIEnv *, jclass, jint, jlongArray, jlongArray); /* * Class: hdf_hdf5lib_H5 * Method: _H5Scopy * Signature: (J)J */ -JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5__1H5Scopy( - JNIEnv *, jclass, jlong); +JNIEXPORT jlong JNICALL +Java_hdf_hdf5lib_H5__1H5Scopy +(JNIEnv *, jclass, jlong); #ifdef notdef // 10/28/99 -- added code to copy the array -- this is not used, @@ -61,7 +64,8 @@ JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5__1H5Scopy( * Method: H5Sselect_elements * Signature: (JII[J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sselect_1elements +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sselect_1elements (JNIEnv *, jclass, jlong, jint, jint, jlongArray); #endif @@ -70,119 +74,133 @@ JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sselect_1elements * Method: H5Sselect_elements * Signature: (JII[B)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sselect_1elements( - JNIEnv *, jclass, jlong, jint, jint, jbyteArray); +JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sselect_1elements +(JNIEnv *, jclass, jlong, jint, jint, jbyteArray); /* * Class: hdf_hdf5lib_H5 * Method: H5Sselect_all * Signature: (J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sselect_1all( - JNIEnv *, jclass, jlong); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sselect_1all +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sselect_none * Signature: (J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sselect_1none( - JNIEnv *, jclass, jlong); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sselect_1none +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sselect_valid * Signature: (J)Z */ -JNIEXPORT jboolean JNICALL Java_hdf_hdf5lib_H5_H5Sselect_1valid( - JNIEnv *, jclass, jlong); +JNIEXPORT jboolean JNICALL +Java_hdf_hdf5lib_H5_H5Sselect_1valid +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_simple_extent_npoints * Signature: (J)J */ -JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5_H5Sget_1simple_1extent_1npoints( - JNIEnv *, jclass, jlong); +JNIEXPORT jlong JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1simple_1extent_1npoints +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_select_npoints * Signature: (J)J */ -JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5_H5Sget_1select_1npoints( - JNIEnv *, jclass, jlong); +JNIEXPORT jlong JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1select_1npoints +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_select_type * Signature: (J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sget_1select_1type( - JNIEnv *, jclass, jlong); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1select_1type +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_simple_extent_ndims * Signature: (J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sget_1simple_1extent_1ndims( - JNIEnv *, jclass, jlong); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1simple_1extent_1ndims +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_simple_extent_dims * Signature: (J[J[J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sget_1simple_1extent_1dims( - JNIEnv *, jclass, jlong, jlongArray, jlongArray); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1simple_1extent_1dims +(JNIEnv *, jclass, jlong, jlongArray, jlongArray); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_simple_extent_type * Signature: (J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sget_1simple_1extent_1type( - JNIEnv *, jclass, jlong); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1simple_1extent_1type +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sset_extent_simple * Signature: (JI[J[J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sset_1extent_1simple( - JNIEnv *, jclass, jlong, jint, jlongArray, jlongArray); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sset_1extent_1simple +(JNIEnv *, jclass, jlong, jint, jlongArray, jlongArray); /* * Class: hdf_hdf5lib_H5 * Method: H5Sis_simple * Signature: (J)Z */ -JNIEXPORT jboolean JNICALL Java_hdf_hdf5lib_H5_H5Sis_1simple( - JNIEnv *, jclass, jlong); +JNIEXPORT jboolean JNICALL +Java_hdf_hdf5lib_H5_H5Sis_1simple +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Soffset_simple * Signature: (J[B)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Soffset_1simple( - JNIEnv *, jclass, jlong, jbyteArray); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Soffset_1simple +(JNIEnv *, jclass, jlong, jbyteArray); /* * Class: hdf_hdf5lib_H5 * Method: H5Sextent_copy * Signature: (JJ)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sextent_1copy( - JNIEnv *, jclass, jlong, jlong); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sextent_1copy +(JNIEnv *, jclass, jlong, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sextent_equal * Signature: (JJ)Z */ -JNIEXPORT jboolean JNICALL Java_hdf_hdf5lib_H5_H5Sextent_1equal +JNIEXPORT jboolean JNICALL +Java_hdf_hdf5lib_H5_H5Sextent_1equal (JNIEnv *, jclass, jlong, jlong); /* @@ -190,71 +208,80 @@ JNIEXPORT jboolean JNICALL Java_hdf_hdf5lib_H5_H5Sextent_1equal * Method: H5Sset_extent_none * Signature: (J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sset_1extent_1none( - JNIEnv *, jclass, jlong); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sset_1extent_1none +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sselect_hyperslab * Signature: (JI[J[J[J[J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sselect_1hyperslab( - JNIEnv *, jclass, jlong, jint, jlongArray, jlongArray, jlongArray, jlongArray); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sselect_1hyperslab +(JNIEnv *, jclass, jlong, jint, jlongArray, jlongArray, jlongArray, jlongArray); /* * Class: hdf_hdf5lib_H5 * Method: H5Sclose * Signature: (J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5__1H5Sclose( - JNIEnv *, jclass, jlong); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5__1H5Sclose +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_select_hyper_nblocks * Signature: (J)J */ -JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5_H5Sget_1select_1hyper_1nblocks( - JNIEnv *, jclass, jlong); +JNIEXPORT jlong JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1select_1hyper_1nblocks +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_select_elem_npoints * Signature: (J)J */ -JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5_H5Sget_1select_1elem_1npoints( - JNIEnv *, jclass, jlong); +JNIEXPORT jlong JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1select_1elem_1npoints +(JNIEnv *, jclass, jlong); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_select_hyper_blocklist * Signature: (JJJ[J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sget_1select_1hyper_1blocklist( - JNIEnv *, jclass, jlong, jlong, jlong, jlongArray); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1select_1hyper_1blocklist +(JNIEnv *, jclass, jlong, jlong, jlong, jlongArray); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_select_elem_pointlist * Signature: (JJJ[J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sget_1select_1elem_1pointlist( - JNIEnv *, jclass, jlong, jlong, jlong, jlongArray); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1select_1elem_1pointlist +(JNIEnv *, jclass, jlong, jlong, jlong, jlongArray); /* * Class: hdf_hdf5lib_H5 * Method: H5Sget_select_bounds * Signature: (J[J[J)I */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Sget_1select_1bounds( - JNIEnv *, jclass, jlong, jlongArray, jlongArray); +JNIEXPORT jint JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1select_1bounds +(JNIEnv *, jclass, jlong, jlongArray, jlongArray); /* * Class: hdf_hdf5lib_H5 * Method: H5Sencode * Signature: (J)[B */ -JNIEXPORT jbyteArray JNICALL Java_hdf_hdf5lib_H5_H5Sencode +JNIEXPORT jbyteArray JNICALL +Java_hdf_hdf5lib_H5_H5Sencode (JNIEnv *, jclass, jlong); /* @@ -262,7 +289,8 @@ JNIEXPORT jbyteArray JNICALL Java_hdf_hdf5lib_H5_H5Sencode * Method: H5Sdecode * Signature: ([B)J */ -JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5_H5Sdecode +JNIEXPORT jlong JNICALL +Java_hdf_hdf5lib_H5_H5Sdecode (JNIEnv *, jclass, jbyteArray); /* @@ -270,7 +298,8 @@ JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5_H5Sdecode * Method: H5Sis_regular_hyperslab * Signature: (J)Z */ -JNIEXPORT jboolean JNICALL Java_hdf_hdf5lib_H5_H5Sis_1regular_1hyperslab +JNIEXPORT jboolean JNICALL +Java_hdf_hdf5lib_H5_H5Sis_1regular_1hyperslab (JNIEnv *, jclass, jlong); /* @@ -278,8 +307,9 @@ JNIEXPORT jboolean JNICALL Java_hdf_hdf5lib_H5_H5Sis_1regular_1hyperslab * Method: H5Sget_regular_hyperslab * Signature: (J[J[J[J[J)V */ -JNIEXPORT void JNICALL Java_hdf_hdf5lib_H5_H5Sget_1regular_1hyperslab( - JNIEnv *, jclass, jlong, jlongArray, jlongArray, jlongArray, jlongArray); +JNIEXPORT void JNICALL +Java_hdf_hdf5lib_H5_H5Sget_1regular_1hyperslab +(JNIEnv *, jclass, jlong, jlongArray, jlongArray, jlongArray, jlongArray); #ifdef __cplusplus } /* end extern "C" */ |