MISR Toolkit  1.5.1
H5version.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
6  * This file is part of HDF5. The full HDF5 copyright notice, including *
7  * terms governing use, modification, and redistribution, is contained in *
8  * the COPYING file, which can be found at the root of the source code *
9  * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
10  * If you do not have access to either file, you may request a copy from *
11  * help@hdfgroup.org. *
12  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13 
14 /* Generated automatically by bin/make_vers -- do not edit */
15 /* Add new versioned symbols to H5vers.txt file */
16 
17 
18 #ifndef _H5version_H
19 #define _H5version_H
20 
21 /* Issue error if contradicting macros have been defined. */
22 #if defined(H5_USE_16_API) && defined(H5_NO_DEPRECATED_SYMBOLS)
23 #error "Can't choose old API versions when deprecated APIs are disabled"
24 #endif /* defined(H5_USE_16_API) && defined(H5_NO_DEPRECATED_SYMBOLS) */
25 
26 
27 /* If a particular "global" version of the library's interfaces is chosen,
28  * set the versions for the API symbols affected.
29  *
30  * Note: If an application has already chosen a particular version for an
31  * API symbol, the individual API version macro takes priority.
32  */
33 #if defined(H5_USE_16_API_DEFAULT) && !defined(H5_USE_16_API)
34 #define H5_USE_16_API 1
35 #endif /* H5_USE_16_API_DEFAULT && !H5_USE_16_API */
36 
37 #ifdef H5_USE_16_API
38 
39 /*************/
40 /* Functions */
41 /*************/
42 
43 #if !defined(H5Acreate_vers)
44 #define H5Acreate_vers 1
45 #endif /* !defined(H5Acreate_vers) */
46 
47 #if !defined(H5Aiterate_vers)
48 #define H5Aiterate_vers 1
49 #endif /* !defined(H5Aiterate_vers) */
50 
51 #if !defined(H5Dcreate_vers)
52 #define H5Dcreate_vers 1
53 #endif /* !defined(H5Dcreate_vers) */
54 
55 #if !defined(H5Dopen_vers)
56 #define H5Dopen_vers 1
57 #endif /* !defined(H5Dopen_vers) */
58 
59 #if !defined(H5Eclear_vers)
60 #define H5Eclear_vers 1
61 #endif /* !defined(H5Eclear_vers) */
62 
63 #if !defined(H5Eget_auto_vers)
64 #define H5Eget_auto_vers 1
65 #endif /* !defined(H5Eget_auto_vers) */
66 
67 #if !defined(H5Eprint_vers)
68 #define H5Eprint_vers 1
69 #endif /* !defined(H5Eprint_vers) */
70 
71 #if !defined(H5Epush_vers)
72 #define H5Epush_vers 1
73 #endif /* !defined(H5Epush_vers) */
74 
75 #if !defined(H5Eset_auto_vers)
76 #define H5Eset_auto_vers 1
77 #endif /* !defined(H5Eset_auto_vers) */
78 
79 #if !defined(H5Ewalk_vers)
80 #define H5Ewalk_vers 1
81 #endif /* !defined(H5Ewalk_vers) */
82 
83 #if !defined(H5Gcreate_vers)
84 #define H5Gcreate_vers 1
85 #endif /* !defined(H5Gcreate_vers) */
86 
87 #if !defined(H5Gopen_vers)
88 #define H5Gopen_vers 1
89 #endif /* !defined(H5Gopen_vers) */
90 
91 #if !defined(H5Pget_filter_vers)
92 #define H5Pget_filter_vers 1
93 #endif /* !defined(H5Pget_filter_vers) */
94 
95 #if !defined(H5Pget_filter_by_id_vers)
96 #define H5Pget_filter_by_id_vers 1
97 #endif /* !defined(H5Pget_filter_by_id_vers) */
98 
99 #if !defined(H5Pinsert_vers)
100 #define H5Pinsert_vers 1
101 #endif /* !defined(H5Pinsert_vers) */
102 
103 #if !defined(H5Pregister_vers)
104 #define H5Pregister_vers 1
105 #endif /* !defined(H5Pregister_vers) */
106 
107 #if !defined(H5Rget_obj_type_vers)
108 #define H5Rget_obj_type_vers 1
109 #endif /* !defined(H5Rget_obj_type_vers) */
110 
111 #if !defined(H5Tarray_create_vers)
112 #define H5Tarray_create_vers 1
113 #endif /* !defined(H5Tarray_create_vers) */
114 
115 #if !defined(H5Tcommit_vers)
116 #define H5Tcommit_vers 1
117 #endif /* !defined(H5Tcommit_vers) */
118 
119 #if !defined(H5Tget_array_dims_vers)
120 #define H5Tget_array_dims_vers 1
121 #endif /* !defined(H5Tget_array_dims_vers) */
122 
123 #if !defined(H5Topen_vers)
124 #define H5Topen_vers 1
125 #endif /* !defined(H5Topen_vers) */
126 
127 /************/
128 /* Typedefs */
129 /************/
130 
131 #if !defined(H5E_auto_t_vers)
132 #define H5E_auto_t_vers 1
133 #endif /* !defined(H5E_auto_t_vers) */
134 
135 #if !defined(H5Z_class_t_vers)
136 #define H5Z_class_t_vers 1
137 #endif /* !defined(H5Z_class_t_vers) */
138 
139 #endif /* H5_USE_16_API */
140 
141 
142 /* Choose the correct version of each API symbol, defaulting to the latest
143  * version of each. The "best" name for API parameters/data structures
144  * that have changed definitions is also set. An error is issued for
145  * specifying an invalid API version.
146  */
147 
148 /*************/
149 /* Functions */
150 /*************/
151 
152 #if !defined(H5Acreate_vers) || H5Acreate_vers == 2
153 #ifndef H5Acreate_vers
154 #define H5Acreate_vers 2
155 #endif /* H5Acreate_vers */
156 #define H5Acreate H5Acreate2
157 #elif H5Acreate_vers == 1
158 #define H5Acreate H5Acreate1
159 #else /* H5Acreate_vers */
160 #error "H5Acreate_vers set to invalid value"
161 #endif /* H5Acreate_vers */
162 
163 #if !defined(H5Aiterate_vers) || H5Aiterate_vers == 2
164 #ifndef H5Aiterate_vers
165 #define H5Aiterate_vers 2
166 #endif /* H5Aiterate_vers */
167 #define H5Aiterate H5Aiterate2
168 #define H5A_operator_t H5A_operator2_t
169 #elif H5Aiterate_vers == 1
170 #define H5Aiterate H5Aiterate1
171 #define H5A_operator_t H5A_operator1_t
172 #else /* H5Aiterate_vers */
173 #error "H5Aiterate_vers set to invalid value"
174 #endif /* H5Aiterate_vers */
175 
176 #if !defined(H5Dcreate_vers) || H5Dcreate_vers == 2
177 #ifndef H5Dcreate_vers
178 #define H5Dcreate_vers 2
179 #endif /* H5Dcreate_vers */
180 #define H5Dcreate H5Dcreate2
181 #elif H5Dcreate_vers == 1
182 #define H5Dcreate H5Dcreate1
183 #else /* H5Dcreate_vers */
184 #error "H5Dcreate_vers set to invalid value"
185 #endif /* H5Dcreate_vers */
186 
187 #if !defined(H5Dopen_vers) || H5Dopen_vers == 2
188 #ifndef H5Dopen_vers
189 #define H5Dopen_vers 2
190 #endif /* H5Dopen_vers */
191 #define H5Dopen H5Dopen2
192 #elif H5Dopen_vers == 1
193 #define H5Dopen H5Dopen1
194 #else /* H5Dopen_vers */
195 #error "H5Dopen_vers set to invalid value"
196 #endif /* H5Dopen_vers */
197 
198 #if !defined(H5Eclear_vers) || H5Eclear_vers == 2
199 #ifndef H5Eclear_vers
200 #define H5Eclear_vers 2
201 #endif /* H5Eclear_vers */
202 #define H5Eclear H5Eclear2
203 #elif H5Eclear_vers == 1
204 #define H5Eclear H5Eclear1
205 #else /* H5Eclear_vers */
206 #error "H5Eclear_vers set to invalid value"
207 #endif /* H5Eclear_vers */
208 
209 #if !defined(H5Eget_auto_vers) || H5Eget_auto_vers == 2
210 #ifndef H5Eget_auto_vers
211 #define H5Eget_auto_vers 2
212 #endif /* H5Eget_auto_vers */
213 #define H5Eget_auto H5Eget_auto2
214 #elif H5Eget_auto_vers == 1
215 #define H5Eget_auto H5Eget_auto1
216 #else /* H5Eget_auto_vers */
217 #error "H5Eget_auto_vers set to invalid value"
218 #endif /* H5Eget_auto_vers */
219 
220 #if !defined(H5Eprint_vers) || H5Eprint_vers == 2
221 #ifndef H5Eprint_vers
222 #define H5Eprint_vers 2
223 #endif /* H5Eprint_vers */
224 #define H5Eprint H5Eprint2
225 #elif H5Eprint_vers == 1
226 #define H5Eprint H5Eprint1
227 #else /* H5Eprint_vers */
228 #error "H5Eprint_vers set to invalid value"
229 #endif /* H5Eprint_vers */
230 
231 #if !defined(H5Epush_vers) || H5Epush_vers == 2
232 #ifndef H5Epush_vers
233 #define H5Epush_vers 2
234 #endif /* H5Epush_vers */
235 #define H5Epush H5Epush2
236 #elif H5Epush_vers == 1
237 #define H5Epush H5Epush1
238 #else /* H5Epush_vers */
239 #error "H5Epush_vers set to invalid value"
240 #endif /* H5Epush_vers */
241 
242 #if !defined(H5Eset_auto_vers) || H5Eset_auto_vers == 2
243 #ifndef H5Eset_auto_vers
244 #define H5Eset_auto_vers 2
245 #endif /* H5Eset_auto_vers */
246 #define H5Eset_auto H5Eset_auto2
247 #elif H5Eset_auto_vers == 1
248 #define H5Eset_auto H5Eset_auto1
249 #else /* H5Eset_auto_vers */
250 #error "H5Eset_auto_vers set to invalid value"
251 #endif /* H5Eset_auto_vers */
252 
253 #if !defined(H5Ewalk_vers) || H5Ewalk_vers == 2
254 #ifndef H5Ewalk_vers
255 #define H5Ewalk_vers 2
256 #endif /* H5Ewalk_vers */
257 #define H5Ewalk H5Ewalk2
258 #define H5E_error_t H5E_error2_t
259 #define H5E_walk_t H5E_walk2_t
260 #elif H5Ewalk_vers == 1
261 #define H5Ewalk H5Ewalk1
262 #define H5E_error_t H5E_error1_t
263 #define H5E_walk_t H5E_walk1_t
264 #else /* H5Ewalk_vers */
265 #error "H5Ewalk_vers set to invalid value"
266 #endif /* H5Ewalk_vers */
267 
268 #if !defined(H5Gcreate_vers) || H5Gcreate_vers == 2
269 #ifndef H5Gcreate_vers
270 #define H5Gcreate_vers 2
271 #endif /* H5Gcreate_vers */
272 #define H5Gcreate H5Gcreate2
273 #elif H5Gcreate_vers == 1
274 #define H5Gcreate H5Gcreate1
275 #else /* H5Gcreate_vers */
276 #error "H5Gcreate_vers set to invalid value"
277 #endif /* H5Gcreate_vers */
278 
279 #if !defined(H5Gopen_vers) || H5Gopen_vers == 2
280 #ifndef H5Gopen_vers
281 #define H5Gopen_vers 2
282 #endif /* H5Gopen_vers */
283 #define H5Gopen H5Gopen2
284 #elif H5Gopen_vers == 1
285 #define H5Gopen H5Gopen1
286 #else /* H5Gopen_vers */
287 #error "H5Gopen_vers set to invalid value"
288 #endif /* H5Gopen_vers */
289 
290 #if !defined(H5Pget_filter_vers) || H5Pget_filter_vers == 2
291 #ifndef H5Pget_filter_vers
292 #define H5Pget_filter_vers 2
293 #endif /* H5Pget_filter_vers */
294 #define H5Pget_filter H5Pget_filter2
295 #elif H5Pget_filter_vers == 1
296 #define H5Pget_filter H5Pget_filter1
297 #else /* H5Pget_filter_vers */
298 #error "H5Pget_filter_vers set to invalid value"
299 #endif /* H5Pget_filter_vers */
300 
301 #if !defined(H5Pget_filter_by_id_vers) || H5Pget_filter_by_id_vers == 2
302 #ifndef H5Pget_filter_by_id_vers
303 #define H5Pget_filter_by_id_vers 2
304 #endif /* H5Pget_filter_by_id_vers */
305 #define H5Pget_filter_by_id H5Pget_filter_by_id2
306 #elif H5Pget_filter_by_id_vers == 1
307 #define H5Pget_filter_by_id H5Pget_filter_by_id1
308 #else /* H5Pget_filter_by_id_vers */
309 #error "H5Pget_filter_by_id_vers set to invalid value"
310 #endif /* H5Pget_filter_by_id_vers */
311 
312 #if !defined(H5Pinsert_vers) || H5Pinsert_vers == 2
313 #ifndef H5Pinsert_vers
314 #define H5Pinsert_vers 2
315 #endif /* H5Pinsert_vers */
316 #define H5Pinsert H5Pinsert2
317 #elif H5Pinsert_vers == 1
318 #define H5Pinsert H5Pinsert1
319 #else /* H5Pinsert_vers */
320 #error "H5Pinsert_vers set to invalid value"
321 #endif /* H5Pinsert_vers */
322 
323 #if !defined(H5Pregister_vers) || H5Pregister_vers == 2
324 #ifndef H5Pregister_vers
325 #define H5Pregister_vers 2
326 #endif /* H5Pregister_vers */
327 #define H5Pregister H5Pregister2
328 #elif H5Pregister_vers == 1
329 #define H5Pregister H5Pregister1
330 #else /* H5Pregister_vers */
331 #error "H5Pregister_vers set to invalid value"
332 #endif /* H5Pregister_vers */
333 
334 #if !defined(H5Rget_obj_type_vers) || H5Rget_obj_type_vers == 2
335 #ifndef H5Rget_obj_type_vers
336 #define H5Rget_obj_type_vers 2
337 #endif /* H5Rget_obj_type_vers */
338 #define H5Rget_obj_type H5Rget_obj_type2
339 #elif H5Rget_obj_type_vers == 1
340 #define H5Rget_obj_type H5Rget_obj_type1
341 #else /* H5Rget_obj_type_vers */
342 #error "H5Rget_obj_type_vers set to invalid value"
343 #endif /* H5Rget_obj_type_vers */
344 
345 #if !defined(H5Tarray_create_vers) || H5Tarray_create_vers == 2
346 #ifndef H5Tarray_create_vers
347 #define H5Tarray_create_vers 2
348 #endif /* H5Tarray_create_vers */
349 #define H5Tarray_create H5Tarray_create2
350 #elif H5Tarray_create_vers == 1
351 #define H5Tarray_create H5Tarray_create1
352 #else /* H5Tarray_create_vers */
353 #error "H5Tarray_create_vers set to invalid value"
354 #endif /* H5Tarray_create_vers */
355 
356 #if !defined(H5Tcommit_vers) || H5Tcommit_vers == 2
357 #ifndef H5Tcommit_vers
358 #define H5Tcommit_vers 2
359 #endif /* H5Tcommit_vers */
360 #define H5Tcommit H5Tcommit2
361 #elif H5Tcommit_vers == 1
362 #define H5Tcommit H5Tcommit1
363 #else /* H5Tcommit_vers */
364 #error "H5Tcommit_vers set to invalid value"
365 #endif /* H5Tcommit_vers */
366 
367 #if !defined(H5Tget_array_dims_vers) || H5Tget_array_dims_vers == 2
368 #ifndef H5Tget_array_dims_vers
369 #define H5Tget_array_dims_vers 2
370 #endif /* H5Tget_array_dims_vers */
371 #define H5Tget_array_dims H5Tget_array_dims2
372 #elif H5Tget_array_dims_vers == 1
373 #define H5Tget_array_dims H5Tget_array_dims1
374 #else /* H5Tget_array_dims_vers */
375 #error "H5Tget_array_dims_vers set to invalid value"
376 #endif /* H5Tget_array_dims_vers */
377 
378 #if !defined(H5Topen_vers) || H5Topen_vers == 2
379 #ifndef H5Topen_vers
380 #define H5Topen_vers 2
381 #endif /* H5Topen_vers */
382 #define H5Topen H5Topen2
383 #elif H5Topen_vers == 1
384 #define H5Topen H5Topen1
385 #else /* H5Topen_vers */
386 #error "H5Topen_vers set to invalid value"
387 #endif /* H5Topen_vers */
388 
389 /************/
390 /* Typedefs */
391 /************/
392 
393 #if !defined(H5E_auto_t_vers) || H5E_auto_t_vers == 2
394 #ifndef H5E_auto_t_vers
395 #define H5E_auto_t_vers 2
396 #endif /* H5E_auto_t_vers */
397 #define H5E_auto_t H5E_auto2_t
398 #elif H5E_auto_t_vers == 1
399 #define H5E_auto_t H5E_auto1_t
400 #else /* H5E_auto_t_vers */
401 #error "H5E_auto_t_vers set to invalid value"
402 #endif /* H5E_auto_t_vers */
403 
404 
405 #if !defined(H5Z_class_t_vers) || H5Z_class_t_vers == 2
406 #ifndef H5Z_class_t_vers
407 #define H5Z_class_t_vers 2
408 #endif /* H5Z_class_t_vers */
409 #define H5Z_class_t H5Z_class2_t
410 #elif H5Z_class_t_vers == 1
411 #define H5Z_class_t H5Z_class1_t
412 #else /* H5Z_class_t_vers */
413 #error "H5Z_class_t_vers set to invalid value"
414 #endif /* H5Z_class_t_vers */
415 
416 #endif /* H5version_H */
417 

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53