00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _H5version_H
00021 #define _H5version_H
00022
00023
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
00027
00028
00029
00030
00031
00032
00033
00034
00035 #if defined(H5_USE_16_API_DEFAULT) && !defined(H5_USE_16_API)
00036 #define H5_USE_16_API 1
00037 #endif
00038
00039 #ifdef H5_USE_16_API
00040
00041
00042
00043
00044
00045 #if !defined(H5Acreate_vers)
00046 #define H5Acreate_vers 1
00047 #endif
00048
00049 #if !defined(H5Aiterate_vers)
00050 #define H5Aiterate_vers 1
00051 #endif
00052
00053 #if !defined(H5Dcreate_vers)
00054 #define H5Dcreate_vers 1
00055 #endif
00056
00057 #if !defined(H5Dopen_vers)
00058 #define H5Dopen_vers 1
00059 #endif
00060
00061 #if !defined(H5Eclear_vers)
00062 #define H5Eclear_vers 1
00063 #endif
00064
00065 #if !defined(H5Eget_auto_vers)
00066 #define H5Eget_auto_vers 1
00067 #endif
00068
00069 #if !defined(H5Eprint_vers)
00070 #define H5Eprint_vers 1
00071 #endif
00072
00073 #if !defined(H5Epush_vers)
00074 #define H5Epush_vers 1
00075 #endif
00076
00077 #if !defined(H5Eset_auto_vers)
00078 #define H5Eset_auto_vers 1
00079 #endif
00080
00081 #if !defined(H5Ewalk_vers)
00082 #define H5Ewalk_vers 1
00083 #endif
00084
00085 #if !defined(H5Gcreate_vers)
00086 #define H5Gcreate_vers 1
00087 #endif
00088
00089 #if !defined(H5Gopen_vers)
00090 #define H5Gopen_vers 1
00091 #endif
00092
00093 #if !defined(H5Pget_filter_vers)
00094 #define H5Pget_filter_vers 1
00095 #endif
00096
00097 #if !defined(H5Pget_filter_by_id_vers)
00098 #define H5Pget_filter_by_id_vers 1
00099 #endif
00100
00101 #if !defined(H5Pinsert_vers)
00102 #define H5Pinsert_vers 1
00103 #endif
00104
00105 #if !defined(H5Pregister_vers)
00106 #define H5Pregister_vers 1
00107 #endif
00108
00109 #if !defined(H5Rget_obj_type_vers)
00110 #define H5Rget_obj_type_vers 1
00111 #endif
00112
00113 #if !defined(H5Tarray_create_vers)
00114 #define H5Tarray_create_vers 1
00115 #endif
00116
00117 #if !defined(H5Tcommit_vers)
00118 #define H5Tcommit_vers 1
00119 #endif
00120
00121 #if !defined(H5Tget_array_dims_vers)
00122 #define H5Tget_array_dims_vers 1
00123 #endif
00124
00125 #if !defined(H5Topen_vers)
00126 #define H5Topen_vers 1
00127 #endif
00128
00129
00130
00131
00132
00133 #if !defined(H5E_auto_t_vers)
00134 #define H5E_auto_t_vers 1
00135 #endif
00136
00137 #if !defined(H5Z_class_t_vers)
00138 #define H5Z_class_t_vers 1
00139 #endif
00140
00141 #endif
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154 #if !defined(H5Acreate_vers) || H5Acreate_vers == 2
00155 #ifndef H5Acreate_vers
00156 #define H5Acreate_vers 2
00157 #endif
00158 #define H5Acreate H5Acreate2
00159 #elif H5Acreate_vers == 1
00160 #define H5Acreate H5Acreate1
00161 #else
00162 #error "H5Acreate_vers set to invalid value"
00163 #endif
00164
00165 #if !defined(H5Aiterate_vers) || H5Aiterate_vers == 2
00166 #ifndef H5Aiterate_vers
00167 #define H5Aiterate_vers 2
00168 #endif
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
00175 #error "H5Aiterate_vers set to invalid value"
00176 #endif
00177
00178 #if !defined(H5Dcreate_vers) || H5Dcreate_vers == 2
00179 #ifndef H5Dcreate_vers
00180 #define H5Dcreate_vers 2
00181 #endif
00182 #define H5Dcreate H5Dcreate2
00183 #elif H5Dcreate_vers == 1
00184 #define H5Dcreate H5Dcreate1
00185 #else
00186 #error "H5Dcreate_vers set to invalid value"
00187 #endif
00188
00189 #if !defined(H5Dopen_vers) || H5Dopen_vers == 2
00190 #ifndef H5Dopen_vers
00191 #define H5Dopen_vers 2
00192 #endif
00193 #define H5Dopen H5Dopen2
00194 #elif H5Dopen_vers == 1
00195 #define H5Dopen H5Dopen1
00196 #else
00197 #error "H5Dopen_vers set to invalid value"
00198 #endif
00199
00200 #if !defined(H5Eclear_vers) || H5Eclear_vers == 2
00201 #ifndef H5Eclear_vers
00202 #define H5Eclear_vers 2
00203 #endif
00204 #define H5Eclear H5Eclear2
00205 #elif H5Eclear_vers == 1
00206 #define H5Eclear H5Eclear1
00207 #else
00208 #error "H5Eclear_vers set to invalid value"
00209 #endif
00210
00211 #if !defined(H5Eget_auto_vers) || H5Eget_auto_vers == 2
00212 #ifndef H5Eget_auto_vers
00213 #define H5Eget_auto_vers 2
00214 #endif
00215 #define H5Eget_auto H5Eget_auto2
00216 #elif H5Eget_auto_vers == 1
00217 #define H5Eget_auto H5Eget_auto1
00218 #else
00219 #error "H5Eget_auto_vers set to invalid value"
00220 #endif
00221
00222 #if !defined(H5Eprint_vers) || H5Eprint_vers == 2
00223 #ifndef H5Eprint_vers
00224 #define H5Eprint_vers 2
00225 #endif
00226 #define H5Eprint H5Eprint2
00227 #elif H5Eprint_vers == 1
00228 #define H5Eprint H5Eprint1
00229 #else
00230 #error "H5Eprint_vers set to invalid value"
00231 #endif
00232
00233 #if !defined(H5Epush_vers) || H5Epush_vers == 2
00234 #ifndef H5Epush_vers
00235 #define H5Epush_vers 2
00236 #endif
00237 #define H5Epush H5Epush2
00238 #elif H5Epush_vers == 1
00239 #define H5Epush H5Epush1
00240 #else
00241 #error "H5Epush_vers set to invalid value"
00242 #endif
00243
00244 #if !defined(H5Eset_auto_vers) || H5Eset_auto_vers == 2
00245 #ifndef H5Eset_auto_vers
00246 #define H5Eset_auto_vers 2
00247 #endif
00248 #define H5Eset_auto H5Eset_auto2
00249 #elif H5Eset_auto_vers == 1
00250 #define H5Eset_auto H5Eset_auto1
00251 #else
00252 #error "H5Eset_auto_vers set to invalid value"
00253 #endif
00254
00255 #if !defined(H5Ewalk_vers) || H5Ewalk_vers == 2
00256 #ifndef H5Ewalk_vers
00257 #define H5Ewalk_vers 2
00258 #endif
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
00267 #error "H5Ewalk_vers set to invalid value"
00268 #endif
00269
00270 #if !defined(H5Gcreate_vers) || H5Gcreate_vers == 2
00271 #ifndef H5Gcreate_vers
00272 #define H5Gcreate_vers 2
00273 #endif
00274 #define H5Gcreate H5Gcreate2
00275 #elif H5Gcreate_vers == 1
00276 #define H5Gcreate H5Gcreate1
00277 #else
00278 #error "H5Gcreate_vers set to invalid value"
00279 #endif
00280
00281 #if !defined(H5Gopen_vers) || H5Gopen_vers == 2
00282 #ifndef H5Gopen_vers
00283 #define H5Gopen_vers 2
00284 #endif
00285 #define H5Gopen H5Gopen2
00286 #elif H5Gopen_vers == 1
00287 #define H5Gopen H5Gopen1
00288 #else
00289 #error "H5Gopen_vers set to invalid value"
00290 #endif
00291
00292 #if !defined(H5Pget_filter_vers) || H5Pget_filter_vers == 2
00293 #ifndef H5Pget_filter_vers
00294 #define H5Pget_filter_vers 2
00295 #endif
00296 #define H5Pget_filter H5Pget_filter2
00297 #elif H5Pget_filter_vers == 1
00298 #define H5Pget_filter H5Pget_filter1
00299 #else
00300 #error "H5Pget_filter_vers set to invalid value"
00301 #endif
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
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
00311 #error "H5Pget_filter_by_id_vers set to invalid value"
00312 #endif
00313
00314 #if !defined(H5Pinsert_vers) || H5Pinsert_vers == 2
00315 #ifndef H5Pinsert_vers
00316 #define H5Pinsert_vers 2
00317 #endif
00318 #define H5Pinsert H5Pinsert2
00319 #elif H5Pinsert_vers == 1
00320 #define H5Pinsert H5Pinsert1
00321 #else
00322 #error "H5Pinsert_vers set to invalid value"
00323 #endif
00324
00325 #if !defined(H5Pregister_vers) || H5Pregister_vers == 2
00326 #ifndef H5Pregister_vers
00327 #define H5Pregister_vers 2
00328 #endif
00329 #define H5Pregister H5Pregister2
00330 #elif H5Pregister_vers == 1
00331 #define H5Pregister H5Pregister1
00332 #else
00333 #error "H5Pregister_vers set to invalid value"
00334 #endif
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
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
00344 #error "H5Rget_obj_type_vers set to invalid value"
00345 #endif
00346
00347 #if !defined(H5Tarray_create_vers) || H5Tarray_create_vers == 2
00348 #ifndef H5Tarray_create_vers
00349 #define H5Tarray_create_vers 2
00350 #endif
00351 #define H5Tarray_create H5Tarray_create2
00352 #elif H5Tarray_create_vers == 1
00353 #define H5Tarray_create H5Tarray_create1
00354 #else
00355 #error "H5Tarray_create_vers set to invalid value"
00356 #endif
00357
00358 #if !defined(H5Tcommit_vers) || H5Tcommit_vers == 2
00359 #ifndef H5Tcommit_vers
00360 #define H5Tcommit_vers 2
00361 #endif
00362 #define H5Tcommit H5Tcommit2
00363 #elif H5Tcommit_vers == 1
00364 #define H5Tcommit H5Tcommit1
00365 #else
00366 #error "H5Tcommit_vers set to invalid value"
00367 #endif
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
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
00377 #error "H5Tget_array_dims_vers set to invalid value"
00378 #endif
00379
00380 #if !defined(H5Topen_vers) || H5Topen_vers == 2
00381 #ifndef H5Topen_vers
00382 #define H5Topen_vers 2
00383 #endif
00384 #define H5Topen H5Topen2
00385 #elif H5Topen_vers == 1
00386 #define H5Topen H5Topen1
00387 #else
00388 #error "H5Topen_vers set to invalid value"
00389 #endif
00390
00391
00392
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
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
00403 #error "H5E_auto_t_vers set to invalid value"
00404 #endif
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
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
00415 #error "H5Z_class_t_vers set to invalid value"
00416 #endif
00417
00418 #endif
00419