bes  Updated for version 3.20.6
h5apicompatible.h
1  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group *
3  * All rights reserved. *
4  * *
5  * This file is part of hdf5_handler, an HDF5 file handler for the OPeNDAP *
6  * data server. *
7  * including terms governing use, modification, and redistribution, is *
8  * contained in the COPYING file, which can be found at the root of the *
9  * source code distribution tree. *
10  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
11 
12 #ifndef H5APICOMPITABLE_H
13 #define H5APICOMPITABLE_H
14 
15 
16 #if (H5_VERS_MAJOR == 1 && H5_VERS_MINOR == 8)
17 
18 
19 #define H5RDEREFERENCE(obj_id,ref_type,ref) H5Rdereference(obj_id,ref_type,ref)
20 #else
21 
22 #if (defined H5_USE_18_API)
23 #define H5RDEREFERENCE(obj_id,ref_type,ref) H5Rdereference1(obj_id,ref_type,ref)
24 #else
25 #define H5RDEREFERENCE(obj_id,ref_type,ref) H5Rdereference2(obj_id,H5P_DEFAULT,ref_type,ref)
26 #endif
27 
28 #endif
29 
30 
31 #endif
32