summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5plImp.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-05-04 15:52:40 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-05-04 15:52:40 (GMT)
commitf1633a5fe2fa339657716fc557cc93be61fe766f (patch)
treec39cb73d752e703f300e8705189ff737fd72d0bc /java/src/jni/h5plImp.c
parent54316ab54241f1956b5494d6130eb2aeb4a3ace0 (diff)
downloadhdf5-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/h5plImp.c')
-rw-r--r--java/src/jni/h5plImp.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/java/src/jni/h5plImp.c b/java/src/jni/h5plImp.c
index dfaeb53..59de3cf 100644
--- a/java/src/jni/h5plImp.c
+++ b/java/src/jni/h5plImp.c
@@ -36,28 +36,30 @@ extern jobject visit_callback;
* Method: H5PLset_loading_state
* Signature: (I)V
*/
-JNIEXPORT void JNICALL Java_hdf_hdf5lib_H5_H5PLset_1loading_1state
- (JNIEnv *env, jclass clss, jint plugin_flags)
+JNIEXPORT void JNICALL
+Java_hdf_hdf5lib_H5_H5PLset_1loading_1state
+ (JNIEnv *env, jclass clss, jint plugin_flags)
{
if (H5PLset_loading_state((unsigned int)plugin_flags) < 0) {
h5libraryError(env);
}
-}
+} /* end Java_hdf_hdf5lib_H5_H5PLset_1loading_1state */
/*
* Class: hdf_hdf5lib_H5
* Method: H5PLget_loading_state
* Signature: (V)I
*/
-JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5PLget_1loading_1state
- (JNIEnv *env, jclass clss)
+JNIEXPORT jint JNICALL
+Java_hdf_hdf5lib_H5_H5PLget_1loading_1state
+ (JNIEnv *env, jclass clss)
{
unsigned int plugin_type = 0;
if (H5PLget_loading_state(&plugin_type) < 0) {
h5libraryError(env);
}
return (jint)plugin_type;
-}
+} /* end Java_hdf_hdf5lib_H5_H5PLget_1loading_1state */
#ifdef __cplusplus
} /* end extern "C" */