summaryrefslogtreecommitdiffstats
path: root/java/src/jni
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-08-22 18:07:01 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-08-22 18:07:01 (GMT)
commit241dc68b484846a96c09fd9179cac699dd561cdc (patch)
tree8580865fc0dfd239c58e5182a9105751121e5c2f /java/src/jni
parent3c331b231aff312d116efdec94109fffd047ccf2 (diff)
downloadhdf5-241dc68b484846a96c09fd9179cac699dd561cdc.zip
hdf5-241dc68b484846a96c09fd9179cac699dd561cdc.tar.gz
hdf5-241dc68b484846a96c09fd9179cac699dd561cdc.tar.bz2
[svn-r30315] HDFFV-9972: Fix test reference and change default for H5Iget_name in JNI API.
Diffstat (limited to 'java/src/jni')
-rw-r--r--java/src/jni/h5iImp.c8
-rw-r--r--java/src/jni/h5iImp.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/java/src/jni/h5iImp.c b/java/src/jni/h5iImp.c
index d2f845a..71e1b71 100644
--- a/java/src/jni/h5iImp.c
+++ b/java/src/jni/h5iImp.c
@@ -52,11 +52,11 @@ Java_hdf_hdf5lib_H5_H5Iget_1type
/*
* Class: hdf_hdf5lib_H5
- * Method: H5Iget_name
+ * Method: H5Iget_name_long
* Signature: (JLjava/lang/String;J)J
*/
JNIEXPORT jlong JNICALL
-Java_hdf_hdf5lib_H5_H5Iget_1name
+Java_hdf_hdf5lib_H5_H5Iget_1name_1long
(JNIEnv *env, jclass clss, jlong obj_id, jobjectArray name, jlong buf_size)
{
char *aName;
@@ -91,11 +91,11 @@ Java_hdf_hdf5lib_H5_H5Iget_1name
/*
* Class: hdf_hdf5lib_H5
- * Method: H5Iget_name_str
+ * Method: H5Iget_name
* Signature: (J)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL
-Java_hdf_hdf5lib_H5_H5Iget_1name_1str
+Java_hdf_hdf5lib_H5_H5Iget_1name
(JNIEnv *env, jclass clss, jlong obj_id)
{
char *aName;
diff --git a/java/src/jni/h5iImp.h b/java/src/jni/h5iImp.h
index f6fe56b..2bf839bc 100644
--- a/java/src/jni/h5iImp.h
+++ b/java/src/jni/h5iImp.h
@@ -34,20 +34,20 @@ Java_hdf_hdf5lib_H5_H5Iget_1type
/*
* Class: hdf_hdf5lib_H5
- * Method: H5Iget_name
+ * Method: H5Iget_name_long
* Signature: (JLjava/lang/String;J)J
*/
JNIEXPORT jlong JNICALL
-Java_hdf_hdf5lib_H5_H5Iget_1name
+Java_hdf_hdf5lib_H5_H5Iget_1name_1long
(JNIEnv*, jclass, jlong, jobjectArray, jlong);
/*
* Class: hdf_hdf5lib_H5
- * Method: H5Iget_name_str
+ * Method: H5Iget_name
* Signature: (J)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL
-Java_hdf_hdf5lib_H5_H5Iget_1name_1str
+Java_hdf_hdf5lib_H5_H5Iget_1name
(JNIEnv*, jclass, jlong);
/*