src/h5/h5_types.h

- added
This commit is contained in:
2007-12-21 16:15:05 +00:00
parent f7b2471701
commit 452b1fd471
2 changed files with 32 additions and 0 deletions
+1
View File
@@ -49,6 +49,7 @@ src/h5/attribs.c -text
src/h5/attribs.h -text
src/h5/errorhandling.c -text
src/h5/errorhandling.h -text
src/h5/h5_types.h -text
src/h5/openclose.c -text
src/h5/openclose.h -text
src/h5/readwrite.c -text
+31
View File
@@ -0,0 +1,31 @@
#ifndef __H5_TYPES_H
#define __H5_TYPES_H
#ifdef WIN32
typedef __int64 int64_t;
#endif /* WIN32 */
typedef int64_t h5_int64_t;
typedef h5_int64_t h5_int_t;
typedef h5_int64_t h5part_int64_t;
typedef int32_t h5_id_t;
typedef int32_t h5_size_t; /* size in number of elements */
typedef double h5_float64_t;
typedef h5_float64_t h5_float_t;
typedef h5_float64_t h5part_float64_t;
typedef h5_int64_t (*h5_error_handler)( const char*, const h5_int64_t, const char*,...)
#ifdef __GNUC__
__attribute__ ((format (printf, 3, 4)))
#endif
;
typedef h5_error_handler h5part_error_handler;
#ifndef PARALLEL_IO
typedef unsigned long MPI_Comm;
#endif
#endif