diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-12-05 18:10:12 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-12-05 20:42:06 (GMT) |
commit | 7b03a1c03633d695b487642e54f897c715f8622e (patch) | |
tree | ecd44f86a91f3acedb603ecbc17663df547fdadc /src/H5VLconnector.h | |
parent | 60756183d9fddba95c7e91ef537d4b351016773f (diff) | |
download | hdf5-7b03a1c03633d695b487642e54f897c715f8622e.zip hdf5-7b03a1c03633d695b487642e54f897c715f8622e.tar.gz hdf5-7b03a1c03633d695b487642e54f897c715f8622e.tar.bz2 |
Fix H5VL_token_t type and fix H5VL_loc_by_token to use H5VL_token_t *
Diffstat (limited to 'src/H5VLconnector.h')
-rw-r--r-- | src/H5VLconnector.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5VLconnector.h b/src/H5VLconnector.h index f0925bf..373eb44 100644 --- a/src/H5VLconnector.h +++ b/src/H5VLconnector.h @@ -52,7 +52,9 @@ /* type for tokens. Token are unique and permanent identifiers that are * used to reference HDF5 objects. */ -typedef unsigned char H5VL_token_t[H5VL_MAX_TOKEN_SIZE]; +typedef struct { + char __data[H5VL_MAX_TOKEN_SIZE]; +} H5VL_token_t; /* types for attribute GET callback */ typedef enum H5VL_attr_get_t { @@ -213,7 +215,7 @@ typedef struct H5VL_loc_by_idx { } H5VL_loc_by_idx_t; typedef struct H5VL_loc_by_token { - void *token; + H5VL_token_t *token; } H5VL_loc_by_token_t; /* Structure to hold parameters for object locations. |