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 #endif
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150 #if !defined(H5Acreate_vers) || H5Acreate_vers == 2
00151 #ifndef H5Acreate_vers
00152 #define H5Acreate_vers 2
00153 #endif
00154 #define H5Acreate H5Acreate2
00155 #elif H5Acreate_vers == 1
00156 #define H5Acreate H5Acreate1
00157 #else
00158 #error "H5Acreate_vers set to invalid value"
00159 #endif
00160
00161 #if !defined(H5Aiterate_vers) || H5Aiterate_vers == 2
00162 #ifndef H5Aiterate_vers
00163 #define H5Aiterate_vers 2
00164 #endif
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
00171 #error "H5Aiterate_vers set to invalid value"
00172 #endif
00173
00174 #if !defined(H5Dcreate_vers) || H5Dcreate_vers == 2
00175 #ifndef H5Dcreate_vers
00176 #define H5Dcreate_vers 2
00177 #endif
00178 #define H5Dcreate H5Dcreate2
00179 #elif H5Dcreate_vers == 1
00180 #define H5Dcreate H5Dcreate1
00181 #else
00182 #error "H5Dcreate_vers set to invalid value"
00183 #endif
00184
00185 #if !defined(H5Dopen_vers) || H5Dopen_vers == 2
00186 #ifndef H5Dopen_vers
00187 #define H5Dopen_vers 2
00188 #endif
00189 #define H5Dopen H5Dopen2
00190 #elif H5Dopen_vers == 1
00191 #define H5Dopen H5Dopen1
00192 #else
00193 #error "H5Dopen_vers set to invalid value"
00194 #endif
00195
00196 #if !defined(H5Eclear_vers) || H5Eclear_vers == 2
00197 #ifndef H5Eclear_vers
00198 #define H5Eclear_vers 2
00199 #endif
00200 #define H5Eclear H5Eclear2
00201 #elif H5Eclear_vers == 1
00202 #define H5Eclear H5Eclear1
00203 #else
00204 #error "H5Eclear_vers set to invalid value"
00205 #endif
00206
00207 #if !defined(H5Eget_auto_vers) || H5Eget_auto_vers == 2
00208 #ifndef H5Eget_auto_vers
00209 #define H5Eget_auto_vers 2
00210 #endif
00211 #define H5Eget_auto H5Eget_auto2
00212 #elif H5Eget_auto_vers == 1
00213 #define H5Eget_auto H5Eget_auto1
00214 #else
00215 #error "H5Eget_auto_vers set to invalid value"
00216 #endif
00217
00218 #if !defined(H5Eprint_vers) || H5Eprint_vers == 2
00219 #ifndef H5Eprint_vers
00220 #define H5Eprint_vers 2
00221 #endif
00222 #define H5Eprint H5Eprint2
00223 #elif H5Eprint_vers == 1
00224 #define H5Eprint H5Eprint1
00225 #else
00226 #error "H5Eprint_vers set to invalid value"
00227 #endif
00228
00229 #if !defined(H5Epush_vers) || H5Epush_vers == 2
00230 #ifndef H5Epush_vers
00231 #define H5Epush_vers 2
00232 #endif
00233 #define H5Epush H5Epush2
00234 #elif H5Epush_vers == 1
00235 #define H5Epush H5Epush1
00236 #else
00237 #error "H5Epush_vers set to invalid value"
00238 #endif
00239
00240 #if !defined(H5Eset_auto_vers) || H5Eset_auto_vers == 2
00241 #ifndef H5Eset_auto_vers
00242 #define H5Eset_auto_vers 2
00243 #endif
00244 #define H5Eset_auto H5Eset_auto2
00245 #elif H5Eset_auto_vers == 1
00246 #define H5Eset_auto H5Eset_auto1
00247 #else
00248 #error "H5Eset_auto_vers set to invalid value"
00249 #endif
00250
00251 #if !defined(H5Ewalk_vers) || H5Ewalk_vers == 2
00252 #ifndef H5Ewalk_vers
00253 #define H5Ewalk_vers 2
00254 #endif
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
00263 #error "H5Ewalk_vers set to invalid value"
00264 #endif
00265
00266 #if !defined(H5Gcreate_vers) || H5Gcreate_vers == 2
00267 #ifndef H5Gcreate_vers
00268 #define H5Gcreate_vers 2
00269 #endif
00270 #define H5Gcreate H5Gcreate2
00271 #elif H5Gcreate_vers == 1
00272 #define H5Gcreate H5Gcreate1
00273 #else
00274 #error "H5Gcreate_vers set to invalid value"
00275 #endif
00276
00277 #if !defined(H5Gopen_vers) || H5Gopen_vers == 2
00278 #ifndef H5Gopen_vers
00279 #define H5Gopen_vers 2
00280 #endif
00281 #define H5Gopen H5Gopen2
00282 #elif H5Gopen_vers == 1
00283 #define H5Gopen H5Gopen1
00284 #else
00285 #error "H5Gopen_vers set to invalid value"
00286 #endif
00287
00288 #if !defined(H5Pget_filter_vers) || H5Pget_filter_vers == 2
00289 #ifndef H5Pget_filter_vers
00290 #define H5Pget_filter_vers 2
00291 #endif
00292 #define H5Pget_filter H5Pget_filter2
00293 #elif H5Pget_filter_vers == 1
00294 #define H5Pget_filter H5Pget_filter1
00295 #else
00296 #error "H5Pget_filter_vers set to invalid value"
00297 #endif
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
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
00307 #error "H5Pget_filter_by_id_vers set to invalid value"
00308 #endif
00309
00310 #if !defined(H5Pinsert_vers) || H5Pinsert_vers == 2
00311 #ifndef H5Pinsert_vers
00312 #define H5Pinsert_vers 2
00313 #endif
00314 #define H5Pinsert H5Pinsert2
00315 #elif H5Pinsert_vers == 1
00316 #define H5Pinsert H5Pinsert1
00317 #else
00318 #error "H5Pinsert_vers set to invalid value"
00319 #endif
00320
00321 #if !defined(H5Pregister_vers) || H5Pregister_vers == 2
00322 #ifndef H5Pregister_vers
00323 #define H5Pregister_vers 2
00324 #endif
00325 #define H5Pregister H5Pregister2
00326 #elif H5Pregister_vers == 1
00327 #define H5Pregister H5Pregister1
00328 #else
00329 #error "H5Pregister_vers set to invalid value"
00330 #endif
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
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
00340 #error "H5Rget_obj_type_vers set to invalid value"
00341 #endif
00342
00343 #if !defined(H5Tarray_create_vers) || H5Tarray_create_vers == 2
00344 #ifndef H5Tarray_create_vers
00345 #define H5Tarray_create_vers 2
00346 #endif
00347 #define H5Tarray_create H5Tarray_create2
00348 #elif H5Tarray_create_vers == 1
00349 #define H5Tarray_create H5Tarray_create1
00350 #else
00351 #error "H5Tarray_create_vers set to invalid value"
00352 #endif
00353
00354 #if !defined(H5Tcommit_vers) || H5Tcommit_vers == 2
00355 #ifndef H5Tcommit_vers
00356 #define H5Tcommit_vers 2
00357 #endif
00358 #define H5Tcommit H5Tcommit2
00359 #elif H5Tcommit_vers == 1
00360 #define H5Tcommit H5Tcommit1
00361 #else
00362 #error "H5Tcommit_vers set to invalid value"
00363 #endif
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
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
00373 #error "H5Tget_array_dims_vers set to invalid value"
00374 #endif
00375
00376 #if !defined(H5Topen_vers) || H5Topen_vers == 2
00377 #ifndef H5Topen_vers
00378 #define H5Topen_vers 2
00379 #endif
00380 #define H5Topen H5Topen2
00381 #elif H5Topen_vers == 1
00382 #define H5Topen H5Topen1
00383 #else
00384 #error "H5Topen_vers set to invalid value"
00385 #endif
00386
00387
00388
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
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
00399 #error "H5E_auto_t_vers set to invalid value"
00400 #endif
00401
00402 #endif
00403