Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H5D(O) [read/write]_chunk incorrect function arguments? #170

Open
HarryLister opened this issue Oct 16, 2020 · 1 comment
Open

H5D(O) [read/write]_chunk incorrect function arguments? #170

HarryLister opened this issue Oct 16, 2020 · 1 comment
Assignees
Labels

Comments

@HarryLister
Copy link

Hi there, I've been attempting to use the H5D.write/read_chunk methods, but the parameter "offset" is declared as "ref hsize_t offset".
The official documentation for the C lib states that this variable should be referencing an array, so clearly there is an issue here. It works fine for dataspaces of rank 1, but obviously wont work when attempting to specify the offset in a multidimensional dataspace. In my local version I changed the arguement to "[In][Out] hsize_t[] offset" and it now works as expected. Thought it might be worth mentioning!
This was also for HDF5_VER1_10. Many thanks.

@gheber
Copy link
Member

gheber commented Oct 28, 2020

Good catch! I'll try to fix this as soon as I get a chance.

@gheber gheber self-assigned this Oct 28, 2020
@gheber gheber added the bug label Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants