Skip to content

Commit a6adcf1

Browse files
authored
Merge pull request #221 from qkoziol/master
Correct minor typos and add new dynamically loadable VFD type
2 parents fb96296 + c71f0da commit a6adcf1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

hdf5-sys/src/h5pl.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ mod hdf5_1_8_15 {
1111
H5PL_TYPE_ERROR = -1,
1212
H5PL_TYPE_FILTER = 0,
1313
#[cfg(feature = "1.12.0")]
14-
H5PL_VOL,
14+
H5PL_TYPE_VOL,
15+
#[cfg(feature = "1.13.0")]
16+
H5PL_TYPE_VFD,
1517
#[cfg(feature = "1.12.0")]
1618
H5PL_TYPE_NONE,
1719
}

hdf5-sys/src/h5vl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub struct H5VL_class_t {
2727
pub attr_cls: H5VL_attr_class_t,
2828
pub dataset_cls: H5VL_dataset_class_t,
2929
pub datatype_cls: H5VL_datatype_class_t,
30-
pub file_cl: H5VL_file_class_t,
30+
pub file_cls: H5VL_file_class_t,
3131
pub group_cls: H5VL_group_class_t,
3232
pub link_cls: H5VL_link_class_t,
3333
pub object_cls: H5VL_object_class_t,

0 commit comments

Comments
 (0)