diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-01-02 20:37:25 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-01-02 20:37:25 (GMT) |
commit | d31b45766fa5bdbb7245cf5aa9444c9e6c6ca863 (patch) | |
tree | 9a13b5ed0513c16f752e2ab98ac245d6ededaf8f /java/src/hdf/overview.html | |
parent | 08f7c97077585f9a9c36dc9c6f976e53fafdc690 (diff) | |
parent | 17b8f0bb936633f01bf6deba247e37bcadbc6b82 (diff) | |
download | hdf5-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.html | 6 |
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 ( JNIEnv *env, jclass class, jstring hdfFile, jint flags, - jint access) + jlong access) { /* ...convert Java String to (char *) */ /* call the HDF library */ - retVal = H5Fopen((char *)file, (unsigned)flags, (hid_t)access ); + retVal = H5Fopen((char *)file, (unsigned)flags, (hid_t)access); /* ... */ }</b></pre> |