diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-08-13 08:36:42 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-08-13 08:36:42 (GMT) |
commit | 5b6bd7c922d81bb6d1877c03e4b012823f03f88a (patch) | |
tree | 0b2564076409a5203df189a480f5cd6471aa57e1 /src/H5VLint.c | |
parent | e874070dbb27994b24860f94ffc53ca1b12211fa (diff) | |
download | hdf5-5b6bd7c922d81bb6d1877c03e4b012823f03f88a.zip hdf5-5b6bd7c922d81bb6d1877c03e4b012823f03f88a.tar.gz hdf5-5b6bd7c922d81bb6d1877c03e4b012823f03f88a.tar.bz2 |
Added the map (H5M) API
Diffstat (limited to 'src/H5VLint.c')
-rw-r--r-- | src/H5VLint.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5VLint.c b/src/H5VLint.c index 884b2f6..f9262f4 100644 --- a/src/H5VLint.c +++ b/src/H5VLint.c @@ -552,7 +552,8 @@ H5VL__new_vol_obj(H5I_type_t type, void *object, H5VL_t *vol_connector, hbool_t HDassert(vol_connector); /* Make sure type number is valid */ - if(type != H5I_ATTR && type != H5I_DATASET && type != H5I_DATATYPE && type != H5I_FILE && type != H5I_GROUP) + if(type != H5I_ATTR && type != H5I_DATASET && type != H5I_DATATYPE + && type != H5I_FILE && type != H5I_GROUP && type != H5I_MAP) HGOTO_ERROR(H5E_VOL, H5E_BADVALUE, NULL, "invalid type number") /* Create the new VOL object */ @@ -1408,6 +1409,7 @@ H5VL__object(hid_t id, H5I_type_t obj_type) case H5I_DATASET: case H5I_FILE: case H5I_ATTR: + case H5I_MAP: /* get the object */ if (NULL == (vol_obj = (H5VL_object_t *)H5I_object(id))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "invalid identifier") |