HDFFV-9724 Corrected files and verified tests
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user