summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5rImp.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/h5rImp.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/h5rImp.c')
-rw-r--r--java/src/jni/h5rImp.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/java/src/jni/h5rImp.c b/java/src/jni/h5rImp.c
index 9b19bfb..df0ea3c 100644
--- a/java/src/jni/h5rImp.c
+++ b/java/src/jni/h5rImp.c
@@ -38,7 +38,8 @@ extern jobject visit_callback;
* Signature: ([BJLjava/lang/String;IJ)I
*/
JNIEXPORT jint JNICALL
-Java_hdf_hdf5lib_H5_H5Rcreate(JNIEnv *env, jclass clss, jbyteArray ref, jlong loc_id, jstring name, jint ref_type, jlong space_id)
+Java_hdf_hdf5lib_H5_H5Rcreate
+ (JNIEnv *env, jclass clss, jbyteArray ref, jlong loc_id, jstring name, jint ref_type, jlong space_id)
{
const char *rName;
herr_t status = -1;
@@ -94,7 +95,8 @@ Java_hdf_hdf5lib_H5_H5Rcreate(JNIEnv *env, jclass clss, jbyteArray ref, jlong lo
* Signature: (JJI[B)J
*/
JNIEXPORT jlong JNICALL
-Java_hdf_hdf5lib_H5__1H5Rdereference(JNIEnv *env, jclass clss, jlong dataset, jlong access_list, jint ref_type, jbyteArray ref)
+Java_hdf_hdf5lib_H5__1H5Rdereference
+ (JNIEnv *env, jclass clss, jlong dataset, jlong access_list, jint ref_type, jbyteArray ref)
{
jboolean isCopy;
jbyte *refP;
@@ -133,7 +135,8 @@ Java_hdf_hdf5lib_H5__1H5Rdereference(JNIEnv *env, jclass clss, jlong dataset, jl
* Signature: (JI[B)J
*/
JNIEXPORT jlong JNICALL
-Java_hdf_hdf5lib_H5__1H5Rget_1region(JNIEnv *env, jclass clss, jlong dataset, jint ref_type, jbyteArray ref)
+Java_hdf_hdf5lib_H5__1H5Rget_1region
+ (JNIEnv *env, jclass clss, jlong dataset, jint ref_type, jbyteArray ref)
{
hid_t retVal = -1;
jboolean isCopy;
@@ -172,7 +175,8 @@ Java_hdf_hdf5lib_H5__1H5Rget_1region(JNIEnv *env, jclass clss, jlong dataset, ji
* Signature: (JI[B)I
*/
JNIEXPORT jint JNICALL
-Java_hdf_hdf5lib_H5_H5Rget_1obj_1type(JNIEnv *env, jclass clss, jlong loc_id, jint ref_type, jbyteArray ref)
+Java_hdf_hdf5lib_H5_H5Rget_1obj_1type
+ (JNIEnv *env, jclass clss, jlong loc_id, jint ref_type, jbyteArray ref)
{
int retVal =-1;
jboolean isCopy;
@@ -209,7 +213,8 @@ Java_hdf_hdf5lib_H5_H5Rget_1obj_1type(JNIEnv *env, jclass clss, jlong loc_id, ji
* Signature: (JI[B[I)I
*/
JNIEXPORT jint JNICALL
-Java_hdf_hdf5lib_H5_H5Rget_1obj_1type2(JNIEnv *env, jclass clss, jlong loc_id, jint ref_type, jbyteArray ref, jintArray ref_obj)
+Java_hdf_hdf5lib_H5_H5Rget_1obj_1type2
+ (JNIEnv *env, jclass clss, jlong loc_id, jint ref_type, jbyteArray ref, jintArray ref_obj)
{
jint status;
@@ -261,7 +266,8 @@ Java_hdf_hdf5lib_H5_H5Rget_1obj_1type2(JNIEnv *env, jclass clss, jlong loc_id, j
* Signature: (JI[B[Ljava/lang/String;J)J
*/
JNIEXPORT jlong JNICALL
-Java_hdf_hdf5lib_H5_H5Rget_1name(JNIEnv *env, jclass clss, jlong loc_id, jint ref_type, jbyteArray ref, jobjectArray name, jlong size)
+Java_hdf_hdf5lib_H5_H5Rget_1name
+ (JNIEnv *env, jclass clss, jlong loc_id, jint ref_type, jbyteArray ref, jobjectArray name, jlong size)
{
jlong ret_val = -1;
jbyte *refP;