diff options
Diffstat (limited to 'hl/src/H5LT.h')
-rw-r--r-- | hl/src/H5LT.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hl/src/H5LT.h b/hl/src/H5LT.h index aa4b1b1..bdf7f8f 100644 --- a/hl/src/H5LT.h +++ b/hl/src/H5LT.h @@ -17,6 +17,15 @@ #include <hdf5.h> + +#ifndef FAIL +#define FAIL -1 +#endif + +#ifndef SUCCESS +#define SUCCESS 0 +#endif + #define TESTING(WHAT) {printf("%-70s", "Testing " WHAT); fflush(stdout);} #define PASSED() {puts(" PASSED");fflush(stdout);} #define H5_FAILED() {puts("*FAILED*");fflush(stdout);} @@ -364,6 +373,10 @@ herr_t H5LT_set_attribute_numerical( hid_t loc_id, hid_t type_id, const void *data ); +herr_t H5LT_set_attribute_string(hid_t dset_id, + char *name, + char *buf ); + |