You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typedefstructH5O_info1_t {
unsigned longfileno; /**< File number that object is located in */haddr_taddr; /**< Object address in file */H5O_type_ttype; /**< Basic object type (group, dataset, etc.) */unsignedrc; /**< Reference count of object */time_tatime; /**< Access time */time_tmtime; /**< Modification time */time_tctime; /**< Change time */time_tbtime; /**< Birth time */hsize_tnum_attrs; /**< Number of attributes attached to object */H5O_hdr_info_thdr; /**< Object header information *//* Extra metadata storage for obj & attributes */struct {
H5_ih_info_tobj; /**< v1/v2 B-tree & local/fractal heap for groups, B-tree for chunked datasets */H5_ih_info_tattr; /**< v2 B-tree & heap for attributes */
} meta_size;
} H5O_info1_t;
In working through #979 I discovered that our
H5O_info[1]_t
definition is incorrect.https://cs.github.com/HDFGroup/hdf5/blob/c064d3481b582653c1e0d0043a17527fd73e8c4d/src/H5Opublic.h#L1690
fileno
should beCulong
otype
should betype
https://github.com/JuliaIO/HDF5.jl/blob/master/src/api/types.jl#L66-L92
The current version works due to padding.
fieldoffset(H5O_info_t, 2)
yields8
regardless of the type offileno
.The text was updated successfully, but these errors were encountered: