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 #endif /* H5_USE_16_API */
00138 
00139 
00140 /* Choose the correct version of each API symbol, defaulting to the latest
00141  *      version of each.  The "best" name for API parameters/data structures
00142  *      that have changed definitions is also set.  An error is issued for
00143  *      specifying an invalid API version.
00144  */
00145 
00146 /*************/
00147 /* Functions */
00148 /*************/
00149 
00150 #if !defined(H5Acreate_vers) || H5Acreate_vers == 2
00151 #ifndef H5Acreate_vers
00152 #define H5Acreate_vers 2
00153 #endif /* H5Acreate_vers */
00154 #define H5Acreate H5Acreate2
00155 #elif H5Acreate_vers == 1
00156 #define H5Acreate H5Acreate1
00157 #else /* H5Acreate_vers */
00158 #error "H5Acreate_vers set to invalid value"
00159 #endif /* H5Acreate_vers */
00160 
00161 #if !defined(H5Aiterate_vers) || H5Aiterate_vers == 2
00162 #ifndef H5Aiterate_vers
00163 #define H5Aiterate_vers 2
00164 #endif /* H5Aiterate_vers */
00165 #define H5Aiterate H5Aiterate2
00166 #define H5A_operator_t H5A_operator2_t
00167 #elif H5Aiterate_vers == 1
00168 #define H5Aiterate H5Aiterate1
00169 #define H5A_operator_t H5A_operator1_t
00170 #else /* H5Aiterate_vers */
00171 #error "H5Aiterate_vers set to invalid value"
00172 #endif /* H5Aiterate_vers */
00173 
00174 #if !defined(H5Dcreate_vers) || H5Dcreate_vers == 2
00175 #ifndef H5Dcreate_vers
00176 #define H5Dcreate_vers 2
00177 #endif /* H5Dcreate_vers */
00178 #define H5Dcreate H5Dcreate2
00179 #elif H5Dcreate_vers == 1
00180 #define H5Dcreate H5Dcreate1
00181 #else /* H5Dcreate_vers */
00182 #error "H5Dcreate_vers set to invalid value"
00183 #endif /* H5Dcreate_vers */
00184 
00185 #if !defined(H5Dopen_vers) || H5Dopen_vers == 2
00186 #ifndef H5Dopen_vers
00187 #define H5Dopen_vers 2
00188 #endif /* H5Dopen_vers */
00189 #define H5Dopen H5Dopen2
00190 #elif H5Dopen_vers == 1
00191 #define H5Dopen H5Dopen1
00192 #else /* H5Dopen_vers */
00193 #error "H5Dopen_vers set to invalid value"
00194 #endif /* H5Dopen_vers */
00195 
00196 #if !defined(H5Eclear_vers) || H5Eclear_vers == 2
00197 #ifndef H5Eclear_vers
00198 #define H5Eclear_vers 2
00199 #endif /* H5Eclear_vers */
00200 #define H5Eclear H5Eclear2
00201 #elif H5Eclear_vers == 1
00202 #define H5Eclear H5Eclear1
00203 #else /* H5Eclear_vers */
00204 #error "H5Eclear_vers set to invalid value"
00205 #endif /* H5Eclear_vers */
00206 
00207 #if !defined(H5Eget_auto_vers) || H5Eget_auto_vers == 2
00208 #ifndef H5Eget_auto_vers
00209 #define H5Eget_auto_vers 2
00210 #endif /* H5Eget_auto_vers */
00211 #define H5Eget_auto H5Eget_auto2
00212 #elif H5Eget_auto_vers == 1
00213 #define H5Eget_auto H5Eget_auto1
00214 #else /* H5Eget_auto_vers */
00215 #error "H5Eget_auto_vers set to invalid value"
00216 #endif /* H5Eget_auto_vers */
00217 
00218 #if !defined(H5Eprint_vers) || H5Eprint_vers == 2
00219 #ifndef H5Eprint_vers
00220 #define H5Eprint_vers 2
00221 #endif /* H5Eprint_vers */
00222 #define H5Eprint H5Eprint2
00223 #elif H5Eprint_vers == 1
00224 #define H5Eprint H5Eprint1
00225 #else /* H5Eprint_vers */
00226 #error "H5Eprint_vers set to invalid value"
00227 #endif /* H5Eprint_vers */
00228 
00229 #if !defined(H5Epush_vers) || H5Epush_vers == 2
00230 #ifndef H5Epush_vers
00231 #define H5Epush_vers 2
00232 #endif /* H5Epush_vers */
00233 #define H5Epush H5Epush2
00234 #elif H5Epush_vers == 1
00235 #define H5Epush H5Epush1
00236 #else /* H5Epush_vers */
00237 #error "H5Epush_vers set to invalid value"
00238 #endif /* H5Epush_vers */
00239 
00240 #if !defined(H5Eset_auto_vers) || H5Eset_auto_vers == 2
00241 #ifndef H5Eset_auto_vers
00242 #define H5Eset_auto_vers 2
00243 #endif /* H5Eset_auto_vers */
00244 #define H5Eset_auto H5Eset_auto2
00245 #elif H5Eset_auto_vers == 1
00246 #define H5Eset_auto H5Eset_auto1
00247 #else /* H5Eset_auto_vers */
00248 #error "H5Eset_auto_vers set to invalid value"
00249 #endif /* H5Eset_auto_vers */
00250 
00251 #if !defined(H5Ewalk_vers) || H5Ewalk_vers == 2
00252 #ifndef H5Ewalk_vers
00253 #define H5Ewalk_vers 2
00254 #endif /* H5Ewalk_vers */
00255 #define H5Ewalk H5Ewalk2
00256 #define H5E_error_t H5E_error2_t
00257 #define H5E_walk_t H5E_walk2_t
00258 #elif H5Ewalk_vers == 1
00259 #define H5Ewalk H5Ewalk1
00260 #define H5E_error_t H5E_error1_t
00261 #define H5E_walk_t H5E_walk1_t
00262 #else /* H5Ewalk_vers */
00263 #error "H5Ewalk_vers set to invalid value"
00264 #endif /* H5Ewalk_vers */
00265 
00266 #if !defined(H5Gcreate_vers) || H5Gcreate_vers == 2
00267 #ifndef H5Gcreate_vers
00268 #define H5Gcreate_vers 2
00269 #endif /* H5Gcreate_vers */
00270 #define H5Gcreate H5Gcreate2
00271 #elif H5Gcreate_vers == 1
00272 #define H5Gcreate H5Gcreate1
00273 #else /* H5Gcreate_vers */
00274 #error "H5Gcreate_vers set to invalid value"
00275 #endif /* H5Gcreate_vers */
00276 
00277 #if !defined(H5Gopen_vers) || H5Gopen_vers == 2
00278 #ifndef H5Gopen_vers
00279 #define H5Gopen_vers 2
00280 #endif /* H5Gopen_vers */
00281 #define H5Gopen H5Gopen2
00282 #elif H5Gopen_vers == 1
00283 #define H5Gopen H5Gopen1
00284 #else /* H5Gopen_vers */
00285 #error "H5Gopen_vers set to invalid value"
00286 #endif /* H5Gopen_vers */
00287 
00288 #if !defined(H5Pget_filter_vers) || H5Pget_filter_vers == 2
00289 #ifndef H5Pget_filter_vers
00290 #define H5Pget_filter_vers 2
00291 #endif /* H5Pget_filter_vers */
00292 #define H5Pget_filter H5Pget_filter2
00293 #elif H5Pget_filter_vers == 1
00294 #define H5Pget_filter H5Pget_filter1
00295 #else /* H5Pget_filter_vers */
00296 #error "H5Pget_filter_vers set to invalid value"
00297 #endif /* H5Pget_filter_vers */
00298 
00299 #if !defined(H5Pget_filter_by_id_vers) || H5Pget_filter_by_id_vers == 2
00300 #ifndef H5Pget_filter_by_id_vers
00301 #define H5Pget_filter_by_id_vers 2
00302 #endif /* H5Pget_filter_by_id_vers */
00303 #define H5Pget_filter_by_id H5Pget_filter_by_id2
00304 #elif H5Pget_filter_by_id_vers == 1
00305 #define H5Pget_filter_by_id H5Pget_filter_by_id1
00306 #else /* H5Pget_filter_by_id_vers */
00307 #error "H5Pget_filter_by_id_vers set to invalid value"
00308 #endif /* H5Pget_filter_by_id_vers */
00309 
00310 #if !defined(H5Pinsert_vers) || H5Pinsert_vers == 2
00311 #ifndef H5Pinsert_vers
00312 #define H5Pinsert_vers 2
00313 #endif /* H5Pinsert_vers */
00314 #define H5Pinsert H5Pinsert2
00315 #elif H5Pinsert_vers == 1
00316 #define H5Pinsert H5Pinsert1
00317 #else /* H5Pinsert_vers */
00318 #error "H5Pinsert_vers set to invalid value"
00319 #endif /* H5Pinsert_vers */
00320 
00321 #if !defined(H5Pregister_vers) || H5Pregister_vers == 2
00322 #ifndef H5Pregister_vers
00323 #define H5Pregister_vers 2
00324 #endif /* H5Pregister_vers */
00325 #define H5Pregister H5Pregister2
00326 #elif H5Pregister_vers == 1
00327 #define H5Pregister H5Pregister1
00328 #else /* H5Pregister_vers */
00329 #error "H5Pregister_vers set to invalid value"
00330 #endif /* H5Pregister_vers */
00331 
00332 #if !defined(H5Rget_obj_type_vers) || H5Rget_obj_type_vers == 2
00333 #ifndef H5Rget_obj_type_vers
00334 #define H5Rget_obj_type_vers 2
00335 #endif /* H5Rget_obj_type_vers */
00336 #define H5Rget_obj_type H5Rget_obj_type2
00337 #elif H5Rget_obj_type_vers == 1
00338 #define H5Rget_obj_type H5Rget_obj_type1
00339 #else /* H5Rget_obj_type_vers */
00340 #error "H5Rget_obj_type_vers set to invalid value"
00341 #endif /* H5Rget_obj_type_vers */
00342 
00343 #if !defined(H5Tarray_create_vers) || H5Tarray_create_vers == 2
00344 #ifndef H5Tarray_create_vers
00345 #define H5Tarray_create_vers 2
00346 #endif /* H5Tarray_create_vers */
00347 #define H5Tarray_create H5Tarray_create2
00348 #elif H5Tarray_create_vers == 1
00349 #define H5Tarray_create H5Tarray_create1
00350 #else /* H5Tarray_create_vers */
00351 #error "H5Tarray_create_vers set to invalid value"
00352 #endif /* H5Tarray_create_vers */
00353 
00354 #if !defined(H5Tcommit_vers) || H5Tcommit_vers == 2
00355 #ifndef H5Tcommit_vers
00356 #define H5Tcommit_vers 2
00357 #endif /* H5Tcommit_vers */
00358 #define H5Tcommit H5Tcommit2
00359 #elif H5Tcommit_vers == 1
00360 #define H5Tcommit H5Tcommit1
00361 #else /* H5Tcommit_vers */
00362 #error "H5Tcommit_vers set to invalid value"
00363 #endif /* H5Tcommit_vers */
00364 
00365 #if !defined(H5Tget_array_dims_vers) || H5Tget_array_dims_vers == 2
00366 #ifndef H5Tget_array_dims_vers
00367 #define H5Tget_array_dims_vers 2
00368 #endif /* H5Tget_array_dims_vers */
00369 #define H5Tget_array_dims H5Tget_array_dims2
00370 #elif H5Tget_array_dims_vers == 1
00371 #define H5Tget_array_dims H5Tget_array_dims1
00372 #else /* H5Tget_array_dims_vers */
00373 #error "H5Tget_array_dims_vers set to invalid value"
00374 #endif /* H5Tget_array_dims_vers */
00375 
00376 #if !defined(H5Topen_vers) || H5Topen_vers == 2
00377 #ifndef H5Topen_vers
00378 #define H5Topen_vers 2
00379 #endif /* H5Topen_vers */
00380 #define H5Topen H5Topen2
00381 #elif H5Topen_vers == 1
00382 #define H5Topen H5Topen1
00383 #else /* H5Topen_vers */
00384 #error "H5Topen_vers set to invalid value"
00385 #endif /* H5Topen_vers */
00386 
00387 /************/
00388 /* Typedefs */
00389 /************/
00390 
00391 #if !defined(H5E_auto_t_vers) || H5E_auto_t_vers == 2
00392 #ifndef H5E_auto_t_vers
00393 #define H5E_auto_t_vers 2
00394 #endif /* H5E_auto_t_vers */
00395 #define H5E_auto_t H5E_auto2_t
00396 #elif H5E_auto_t_vers == 1
00397 #define H5E_auto_t H5E_auto1_t
00398 #else /* H5E_auto_t_vers */
00399 #error "H5E_auto_t_vers set to invalid value"
00400 #endif /* H5E_auto_t_vers */
00401 
00402 #endif /* H5version_H */
00403