diff --git a/src/H5Part.h b/src/H5Part.h index 8e5f3b7..daf8646 100644 --- a/src/H5Part.h +++ b/src/H5Part.h @@ -39,7 +39,7 @@ extern "C" { H5PartFile* H5PartOpenFile( const char *filename, - unsigned flags + const unsigned flags ); #define H5PartOpenFileSerial(x,y) H5PartOpenFile(x,y) @@ -48,7 +48,7 @@ H5PartOpenFile( H5PartFile* H5PartOpenFileParallel ( const char *filename, - unsigned flags, + const unsigned flags, MPI_Comm communicator ); #endif @@ -128,8 +128,6 @@ H5PartSetView ( const h5part_int64_t end ); -#define H5PartResetView(f) H5PartSetView(f,-1,-1) -#define H5PartHasView(f) ((f->viewstart<0||f->viewend<0)?0:1) h5part_int64_t H5PartGetView ( @@ -138,6 +136,16 @@ H5PartGetView ( h5part_int64_t *end ); +h5part_int64_t +H5PartHasView ( + H5PartFile *f + ); + +h5part_int64_t +H5PartResetView ( + H5PartFile *f + ); + h5part_int64_t H5PartSetCanonicalView ( H5PartFile *f @@ -153,7 +161,7 @@ H5PartReadDataFloat64( h5part_int64_t H5PartReadDataInt64 ( H5PartFile *f, - char *name, + const char *name, h5part_int64_t *array ); @@ -247,13 +255,6 @@ H5PartReadStepAttrib ( void *data ); -h5part_int64_t -H5PartReadAttrib ( - H5PartFile *f, - const char *name, - void *data - ); - h5part_int64_t H5PartReadFileAttrib ( H5PartFile *f,