summaryrefslogtreecommitdiffstats
path: root/java/src/hdf/overview.html
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-02 20:37:25 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-02 20:37:25 (GMT)
commitd31b45766fa5bdbb7245cf5aa9444c9e6c6ca863 (patch)
tree9a13b5ed0513c16f752e2ab98ac245d6ededaf8f /java/src/hdf/overview.html
parent08f7c97077585f9a9c36dc9c6f976e53fafdc690 (diff)
parent17b8f0bb936633f01bf6deba247e37bcadbc6b82 (diff)
downloadhdf5-d31b45766fa5bdbb7245cf5aa9444c9e6c6ca863.zip
hdf5-d31b45766fa5bdbb7245cf5aa9444c9e6c6ca863.tar.gz
hdf5-d31b45766fa5bdbb7245cf5aa9444c9e6c6ca863.tar.bz2
Merge pull request #840 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '17b8f0bb936633f01bf6deba247e37bcadbc6b82': Fix valgrind issues HDFFV-9724 init var to null HDFFV-9724 add valgrind ENV Fix memory leak due to addition of FORMAT check loop HDFFV-9724 prefix of 0 length should be null value HDFFV-9724 Corrected files and verified tests Add library INTERFACE and MPI to tools
Diffstat (limited to 'java/src/hdf/overview.html')
-rw-r--r--java/src/hdf/overview.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/hdf/overview.html b/java/src/hdf/overview.html
index 39d75b7..9c19442 100644
--- a/java/src/hdf/overview.html
+++ b/java/src/hdf/overview.html
@@ -47,20 +47,20 @@ which has a method:
The native method is implemented in C using the
<a href="http://java.sun.com/javase/6/docs/technotes/guides/jni/index.html">Java
Native Method Interface </a>(JNI). This is written something like the following:
-<pre><b>JNIEXPORT jint
+<pre><b>JNIEXPORT jlong
JNICALL Java_hdf_hdf5lib_H5_H5Fopen
(
&nbsp;JNIEnv *env,
&nbsp;jclass class,
&nbsp;jstring hdfFile,
&nbsp;jint flags,
-&nbsp;jint access)
+&nbsp;jlong access)
&nbsp;{
&nbsp;/* ...convert Java String to (char *) */
&nbsp;/* call the HDF library */
-&nbsp;retVal = H5Fopen((char *)file, (unsigned)flags, (hid_t)access );
+&nbsp;retVal = H5Fopen((char *)file, (unsigned)flags, (hid_t)access);
&nbsp;/* ... */
}</b></pre>