H5version.h

00001 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00002  * Copyright by The HDF Group.                                               *
00003  * Copyright by the Board of Trustees of the University of Illinois.         *
00004  * All rights reserved.                                                      *
00005  *                                                                           *
00006  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
00007  * terms governing use, modification, and redistribution, is contained in    *
00008  * the files COPYING and Copyright.html.  COPYING can be found at the root   *
00009  * of the source code distribution tree; Copyright.html can be found at the  *
00010  * root level of an installed copy of the electronic HDF5 document set and   *
00011  * is linked from the top-level documents page.  It can also be found at     *
00012  * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
00013  * access to either file, you may request a copy from help@hdfgroup.org.     *
00014  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00015 
00016 /* Generated automatically by bin/make_vers -- do not edit */
00017 /* Add new versioned symbols to H5vers.txt file */
00018 
00019 
00020 #ifndef _H5version_H
00021 #define _H5version_H
00022 
00023 /* Issue error if contradicting macros have been defined. */
00024 #if defined(H5_USE_16_API) && defined(H5_NO_DEPRECATED_SYMBOLS)
00025 #error "Can't choose old API versions when deprecated APIs are disabled"
00026 #endif /* defined(H5_USE_16_API) && defined(H5_NO_DEPRECATED_SYMBOLS) */
00027 
00028 
00029 /* If a particular "global" version of the library's interfaces is chosen,
00030  *      set the versions for the API symbols affected.
00031  *
00032  * Note: If an application has already chosen a particular version for an
00033  *      API symbol, the individual API version macro takes priority.
00034  */
00035 #if defined(H5_USE_16_API_DEFAULT) && !defined(H5_USE_16_API)
00036 #define H5_USE_16_API 1
00037 #endif /* H5_USE_16_API_DEFAULT && !H5_USE_16_API */
00038 
00039 #ifdef H5_USE_16_API
00040 
00041 /*************/
00042 /* Functions */
00043 /*************/
00044 
00045 #if !defined(H5Acreate_vers)
00046 #define H5Acreate_vers 1
00047 #endif /* !defined(H5Acreate_vers) */
00048 
00049 #if !defined(H5Aiterate_vers)
00050 #define H5Aiterate_vers 1
00051 #endif /* !defined(H5Aiterate_vers) */
00052 
00053 #if !defined(H5Dcreate_vers)
00054 #define H5Dcreate_vers 1
00055 #endif /* !defined(H5Dcreate_vers) */
00056 
00057 #if !defined(H5Dopen_vers)
00058 #define H5Dopen_vers 1
00059 #endif /* !defined(H5Dopen_vers) */
00060 
00061 #if !defined(H5Eclear_vers)
00062 #define H5Eclear_vers 1
00063 #endif /* !defined(H5Eclear_vers) */
00064 
00065 #if !defined(H5Eget_auto_vers)
00066 #define H5Eget_auto_vers 1
00067 #endif /* !defined(H5Eget_auto_vers) */
00068 
00069 #if !defined(H5Eprint_vers)
00070 #define H5Eprint_vers 1
00071 #endif /* !defined(H5Eprint_vers) */
00072 
00073 #if !defined(H5Epush_vers)
00074 #define H5Epush_vers 1
00075 #endif /* !defined(H5Epush_vers) */
00076 
00077 #if !defined(H5Eset_auto_vers)
00078 #define H5Eset_auto_vers 1
00079 #endif /* !defined(H5Eset_auto_vers) */
00080 
00081 #if !defined(H5Ewalk_vers)
00082 #define H5Ewalk_vers 1
00083 #endif /* !defined(H5Ewalk_vers) */
00084 
00085 #if !defined(H5Gcreate_vers)
00086 #define H5Gcreate_vers 1
00087 #endif /* !defined(H5Gcreate_vers) */
00088 
00089 #if !defined(H5Gopen_vers)
00090 #define H5Gopen_vers 1
00091 #endif /* !defined(H5Gopen_vers) */
00092 
00093 #if !defined(H5Pget_filter_vers)
00094 #define H5Pget_filter_vers 1
00095 #endif /* !defined(H5Pget_filter_vers) */
00096 
00097 #if !defined(H5Pget_filter_by_id_vers)
00098 #define H5Pget_filter_by_id_vers 1
00099 #endif /* !defined(H5Pget_filter_by_id_vers) */
00100 
00101 #if !defined(H5Pinsert_vers)
00102 #define H5Pinsert_vers 1
00103 #endif /* !defined(H5Pinsert_vers) */
00104 
00105 #if !defined(H5Pregister_vers)
00106 #define H5Pregister_vers 1
00107 #endif /* !defined(H5Pregister_vers) */
00108 
00109 #if !defined(H5Rget_obj_type_vers)
00110 #define H5Rget_obj_type_vers 1
00111 #endif /* !defined(H5Rget_obj_type_vers) */
00112 
00113 #if !defined(H5Tarray_create_vers)
00114 #define H5Tarray_create_vers 1
00115 #endif /* !defined(H5Tarray_create_vers) */
00116 
00117 #if !defined(H5Tcommit_vers)
00118 #define H5Tcommit_vers 1
00119 #endif /* !defined(H5Tcommit_vers) */
00120 
00121 #if !defined(H5Tget_array_dims_vers)
00122 #define H5Tget_array_dims_vers 1
00123 #endif /* !defined(H5Tget_array_dims_vers) */
00124 
00125 #if !defined(H5Topen_vers)
00126 #define H5Topen_vers 1
00127 #endif /* !defined(H5Topen_vers) */
00128 
00129 /************/
00130 /* Typedefs */
00131 /************/
00132 
00133 #if !defined(H5E_auto_t_vers)
00134 #define H5E_auto_t_vers 1
00135 #endif /* !defined(H5E_auto_t_vers) */
00136 
00137 #if !defined(H5Z_class_t_vers)
00138 #define H5Z_class_t_vers 1
00139 #endif /* !defined(H5Z_class_t_vers) */
00140 
00141 #endif /* H5_USE_16_API */
00142 
00143 
00144 /* Choose the correct version of each API symbol, defaulting to the latest
00145  *      version of each.  The "best" name for API parameters/data structures
00146  *      that have changed definitions is also set.  An error is issued for
00147  *      specifying an invalid API version.
00148  */
00149 
00150 /*************/
00151 /* Functions */
00152 /*************/
00153 
00154 #if !defined(H5Acreate_vers) || H5Acreate_vers == 2
00155 #ifndef H5Acreate_vers
00156 #define H5Acreate_vers 2
00157 #endif /* H5Acreate_vers */
00158 #define H5Acreate H5Acreate2
00159 #elif H5Acreate_vers == 1
00160 #define H5Acreate H5Acreate1
00161 #else /* H5Acreate_vers */
00162 #error "H5Acreate_vers set to invalid value"
00163 #endif /* H5Acreate_vers */
00164 
00165 #if !defined(H5Aiterate_vers) || H5Aiterate_vers == 2
00166 #ifndef H5Aiterate_vers
00167 #define H5Aiterate_vers 2
00168 #endif /* H5Aiterate_vers */
00169 #define H5Aiterate H5Aiterate2
00170 #define H5A_operator_t H5A_operator2_t
00171 #elif H5Aiterate_vers == 1
00172 #define H5Aiterate H5Aiterate1
00173 #define H5A_operator_t H5A_operator1_t
00174 #else /* H5Aiterate_vers */
00175 #error "H5Aiterate_vers set to invalid value"
00176 #endif /* H5Aiterate_vers */
00177 
00178 #if !defined(H5Dcreate_vers) || H5Dcreate_vers == 2
00179 #ifndef H5Dcreate_vers
00180 #define H5Dcreate_vers 2
00181 #endif /* H5Dcreate_vers */
00182 #define H5Dcreate H5Dcreate2
00183 #elif H5Dcreate_vers == 1
00184 #define H5Dcreate H5Dcreate1
00185 #else /* H5Dcreate_vers */
00186 #error "H5Dcreate_vers set to invalid value"
00187 #endif /* H5Dcreate_vers */
00188 
00189 #if !defined(H5Dopen_vers) || H5Dopen_vers == 2
00190 #ifndef H5Dopen_vers
00191 #define H5Dopen_vers 2
00192 #endif /* H5Dopen_vers */
00193 #define H5Dopen H5Dopen2
00194 #elif H5Dopen_vers == 1
00195 #define H5Dopen H5Dopen1
00196 #else /* H5Dopen_vers */
00197 #error "H5Dopen_vers set to invalid value"
00198 #endif /* H5Dopen_vers */
00199 
00200 #if !defined(H5Eclear_vers) || H5Eclear_vers == 2
00201 #ifndef H5Eclear_vers
00202 #define H5Eclear_vers 2
00203 #endif /* H5Eclear_vers */
00204 #define H5Eclear H5Eclear2
00205 #elif H5Eclear_vers == 1
00206 #define H5Eclear H5Eclear1
00207 #else /* H5Eclear_vers */
00208 #error "H5Eclear_vers set to invalid value"
00209 #endif /* H5Eclear_vers */
00210 
00211 #if !defined(H5Eget_auto_vers) || H5Eget_auto_vers == 2
00212 #ifndef H5Eget_auto_vers
00213 #define H5Eget_auto_vers 2
00214 #endif /* H5Eget_auto_vers */
00215 #define H5Eget_auto H5Eget_auto2
00216 #elif H5Eget_auto_vers == 1
00217 #define H5Eget_auto H5Eget_auto1
00218 #else /* H5Eget_auto_vers */
00219 #error "H5Eget_auto_vers set to invalid value"
00220 #endif /* H5Eget_auto_vers */
00221 
00222 #if !defined(H5Eprint_vers) || H5Eprint_vers == 2
00223 #ifndef H5Eprint_vers
00224 #define H5Eprint_vers 2
00225 #endif /* H5Eprint_vers */
00226 #define H5Eprint H5Eprint2
00227 #elif H5Eprint_vers == 1
00228 #define H5Eprint H5Eprint1
00229 #else /* H5Eprint_vers */
00230 #error "H5Eprint_vers set to invalid value"
00231 #endif /* H5Eprint_vers */
00232 
00233 #if !defined(H5Epush_vers) || H5Epush_vers == 2
00234 #ifndef H5Epush_vers
00235 #define H5Epush_vers 2
00236 #endif /* H5Epush_vers */
00237 #define H5Epush H5Epush2
00238 #elif H5Epush_vers == 1
00239 #define H5Epush H5Epush1
00240 #else /* H5Epush_vers */
00241 #error "H5Epush_vers set to invalid value"
00242 #endif /* H5Epush_vers */
00243 
00244 #if !defined(H5Eset_auto_vers) || H5Eset_auto_vers == 2
00245 #ifndef H5Eset_auto_vers
00246 #define H5Eset_auto_vers 2
00247 #endif /* H5Eset_auto_vers */
00248 #define H5Eset_auto H5Eset_auto2
00249 #elif H5Eset_auto_vers == 1
00250 #define H5Eset_auto H5Eset_auto1
00251 #else /* H5Eset_auto_vers */
00252 #error "H5Eset_auto_vers set to invalid value"
00253 #endif /* H5Eset_auto_vers */
00254 
00255 #if !defined(H5Ewalk_vers) || H5Ewalk_vers == 2
00256 #ifndef H5Ewalk_vers
00257 #define H5Ewalk_vers 2
00258 #endif /* H5Ewalk_vers */
00259 #define H5Ewalk H5Ewalk2
00260 #define H5E_error_t H5E_error2_t
00261 #define H5E_walk_t H5E_walk2_t
00262 #elif H5Ewalk_vers == 1
00263 #define H5Ewalk H5Ewalk1
00264 #define H5E_error_t H5E_error1_t
00265 #define H5E_walk_t H5E_walk1_t
00266 #else /* H5Ewalk_vers */
00267 #error "H5Ewalk_vers set to invalid value"
00268 #endif /* H5Ewalk_vers */
00269 
00270 #if !defined(H5Gcreate_vers) || H5Gcreate_vers == 2
00271 #ifndef H5Gcreate_vers
00272 #define H5Gcreate_vers 2
00273 #endif /* H5Gcreate_vers */
00274 #define H5Gcreate H5Gcreate2
00275 #elif H5Gcreate_vers == 1
00276 #define H5Gcreate H5Gcreate1
00277 #else /* H5Gcreate_vers */
00278 #error "H5Gcreate_vers set to invalid value"
00279 #endif /* H5Gcreate_vers */
00280 
00281 #if !defined(H5Gopen_vers) || H5Gopen_vers == 2
00282 #ifndef H5Gopen_vers
00283 #define H5Gopen_vers 2
00284 #endif /* H5Gopen_vers */
00285 #define H5Gopen H5Gopen2
00286 #elif H5Gopen_vers == 1
00287 #define H5Gopen H5Gopen1
00288 #else /* H5Gopen_vers */
00289 #error "H5Gopen_vers set to invalid value"
00290 #endif /* H5Gopen_vers */
00291 
00292 #if !defined(H5Pget_filter_vers) || H5Pget_filter_vers == 2
00293 #ifndef H5Pget_filter_vers
00294 #define H5Pget_filter_vers 2
00295 #endif /* H5Pget_filter_vers */
00296 #define H5Pget_filter H5Pget_filter2
00297 #elif H5Pget_filter_vers == 1
00298 #define H5Pget_filter H5Pget_filter1
00299 #else /* H5Pget_filter_vers */
00300 #error "H5Pget_filter_vers set to invalid value"
00301 #endif /* H5Pget_filter_vers */
00302 
00303 #if !defined(H5Pget_filter_by_id_vers) || H5Pget_filter_by_id_vers == 2
00304 #ifndef H5Pget_filter_by_id_vers
00305 #define H5Pget_filter_by_id_vers 2
00306 #endif /* H5Pget_filter_by_id_vers */
00307 #define H5Pget_filter_by_id H5Pget_filter_by_id2
00308 #elif H5Pget_filter_by_id_vers == 1
00309 #define H5Pget_filter_by_id H5Pget_filter_by_id1
00310 #else /* H5Pget_filter_by_id_vers */
00311 #error "H5Pget_filter_by_id_vers set to invalid value"
00312 #endif /* H5Pget_filter_by_id_vers */
00313 
00314 #if !defined(H5Pinsert_vers) || H5Pinsert_vers == 2
00315 #ifndef H5Pinsert_vers
00316 #define H5Pinsert_vers 2
00317 #endif /* H5Pinsert_vers */
00318 #define H5Pinsert H5Pinsert2
00319 #elif H5Pinsert_vers == 1
00320 #define H5Pinsert H5Pinsert1
00321 #else /* H5Pinsert_vers */
00322 #error "H5Pinsert_vers set to invalid value"
00323 #endif /* H5Pinsert_vers */
00324 
00325 #if !defined(H5Pregister_vers) || H5Pregister_vers == 2
00326 #ifndef H5Pregister_vers
00327 #define H5Pregister_vers 2
00328 #endif /* H5Pregister_vers */
00329 #define H5Pregister H5Pregister2
00330 #elif H5Pregister_vers == 1
00331 #define H5Pregister H5Pregister1
00332 #else /* H5Pregister_vers */
00333 #error "H5Pregister_vers set to invalid value"
00334 #endif /* H5Pregister_vers */
00335 
00336 #if !defined(H5Rget_obj_type_vers) || H5Rget_obj_type_vers == 2
00337 #ifndef H5Rget_obj_type_vers
00338 #define H5Rget_obj_type_vers 2
00339 #endif /* H5Rget_obj_type_vers */
00340 #define H5Rget_obj_type H5Rget_obj_type2
00341 #elif H5Rget_obj_type_vers == 1
00342 #define H5Rget_obj_type H5Rget_obj_type1
00343 #else /* H5Rget_obj_type_vers */
00344 #error "H5Rget_obj_type_vers set to invalid value"
00345 #endif /* H5Rget_obj_type_vers */
00346 
00347 #if !defined(H5Tarray_create_vers) || H5Tarray_create_vers == 2
00348 #ifndef H5Tarray_create_vers
00349 #define H5Tarray_create_vers 2
00350 #endif /* H5Tarray_create_vers */
00351 #define H5Tarray_create H5Tarray_create2
00352 #elif H5Tarray_create_vers == 1
00353 #define H5Tarray_create H5Tarray_create1
00354 #else /* H5Tarray_create_vers */
00355 #error "H5Tarray_create_vers set to invalid value"
00356 #endif /* H5Tarray_create_vers */
00357 
00358 #if !defined(H5Tcommit_vers) || H5Tcommit_vers == 2
00359 #ifndef H5Tcommit_vers
00360 #define H5Tcommit_vers 2
00361 #endif /* H5Tcommit_vers */
00362 #define H5Tcommit H5Tcommit2
00363 #elif H5Tcommit_vers == 1
00364 #define H5Tcommit H5Tcommit1
00365 #else /* H5Tcommit_vers */
00366 #error "H5Tcommit_vers set to invalid value"
00367 #endif /* H5Tcommit_vers */
00368 
00369 #if !defined(H5Tget_array_dims_vers) || H5Tget_array_dims_vers == 2
00370 #ifndef H5Tget_array_dims_vers
00371 #define H5Tget_array_dims_vers 2
00372 #endif /* H5Tget_array_dims_vers */
00373 #define H5Tget_array_dims H5Tget_array_dims2
00374 #elif H5Tget_array_dims_vers == 1
00375 #define H5Tget_array_dims H5Tget_array_dims1
00376 #else /* H5Tget_array_dims_vers */
00377 #error "H5Tget_array_dims_vers set to invalid value"
00378 #endif /* H5Tget_array_dims_vers */
00379 
00380 #if !defined(H5Topen_vers) || H5Topen_vers == 2
00381 #ifndef H5Topen_vers
00382 #define H5Topen_vers 2
00383 #endif /* H5Topen_vers */
00384 #define H5Topen H5Topen2
00385 #elif H5Topen_vers == 1
00386 #define H5Topen H5Topen1
00387 #else /* H5Topen_vers */
00388 #error "H5Topen_vers set to invalid value"
00389 #endif /* H5Topen_vers */
00390 
00391 /************/
00392 /* Typedefs */
00393 /************/
00394 
00395 #if !defined(H5E_auto_t_vers) || H5E_auto_t_vers == 2
00396 #ifndef H5E_auto_t_vers
00397 #define H5E_auto_t_vers 2
00398 #endif /* H5E_auto_t_vers */
00399 #define H5E_auto_t H5E_auto2_t
00400 #elif H5E_auto_t_vers == 1
00401 #define H5E_auto_t H5E_auto1_t
00402 #else /* H5E_auto_t_vers */
00403 #error "H5E_auto_t_vers set to invalid value"
00404 #endif /* H5E_auto_t_vers */
00405 
00406 
00407 #if !defined(H5Z_class_t_vers) || H5Z_class_t_vers == 2
00408 #ifndef H5Z_class_t_vers
00409 #define H5Z_class_t_vers 2
00410 #endif /* H5Z_class_t_vers */
00411 #define H5Z_class_t H5Z_class2_t
00412 #elif H5Z_class_t_vers == 1
00413 #define H5Z_class_t H5Z_class1_t
00414 #else /* H5Z_class_t_vers */
00415 #error "H5Z_class_t_vers set to invalid value"
00416 #endif /* H5Z_class_t_vers */
00417 
00418 #endif /* H5version_H */
00419