summaryrefslogtreecommitdiffstats
path: root/java/src/hdf/overview.html
diff options
context:
space:
mode:
authorlrknox <lrknox>2017-12-22 18:28:24 (GMT)
committerlrknox <lrknox>2017-12-22 18:28:24 (GMT)
commit86d8a4c267eccbc66d6ee6120c9099788853c40f (patch)
tree53f3d57003fb1f19faea8ca3a9393d44c3cdda0d /java/src/hdf/overview.html
parentb1223dd653e65e076af92b2dfe236f3704da81c8 (diff)
downloadhdf5-86d8a4c267eccbc66d6ee6120c9099788853c40f.zip
hdf5-86d8a4c267eccbc66d6ee6120c9099788853c40f.tar.gz
hdf5-86d8a4c267eccbc66d6ee6120c9099788853c40f.tar.bz2
Revert "Merge pull request #826 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop"
This reverts commit b1223dd653e65e076af92b2dfe236f3704da81c8, reversing changes made to b25f123f5f5e25c1447a6a02861cb7c7265c12f2.
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 9c19442..39d75b7 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 jlong
+<pre><b>JNIEXPORT jint
JNICALL Java_hdf_hdf5lib_H5_H5Fopen
(
&nbsp;JNIEnv *env,
&nbsp;jclass class,
&nbsp;jstring hdfFile,
&nbsp;jint flags,
-&nbsp;jlong access)
+&nbsp;jint 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>