/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * * * This file is part of HDF Java Products. The full HDF Java copyright * * notice, including terms governing use, modification, and redistribution, * * is contained in the file, COPYING. COPYING can be found at the root of * * the source code distribution tree. You can also access it online at * * http://www.hdfgroup.org/products/licenses.html. If you do not have * * access to the file, you may request a copy from help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "H5version.h" #include #ifndef _Included_h5jni #define _Included_h5jni #ifdef __cplusplus #define ENVPTR (env) #define ENVPAR #define ENVONLY #else #define ENVPTR (*env) #define ENVPAR env, #define ENVONLY env #endif #ifdef __cplusplus extern "C" { #endif extern jboolean h5JNIFatalError(JNIEnv *, char *); extern jboolean h5nullArgument(JNIEnv *, char *); extern jboolean h5badArgument (JNIEnv *, char *); extern jboolean h5outOfMemory (JNIEnv *, char *); extern jboolean h5libraryError(JNIEnv *env ); extern jboolean h5raiseException(JNIEnv *, char *, char *); extern jboolean h5unimplemented( JNIEnv *env, char *functName); /* implemented at H5.c */ extern jint get_enum_value(JNIEnv *env, jobject enum_obj); extern jobject get_enum_object(JNIEnv *env, const char* enum_class_name, jint enum_val, const char* enum_field_desc); /* implemented at H5G.c */ extern jobject create_H5G_info_t(JNIEnv *env, H5G_info_t group_info); #ifdef __cplusplus } #endif #endif