-
Notifications
You must be signed in to change notification settings - Fork 9
Fix #567 Check of the HDF5 API version to use in error handler #600
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the contribution! Please use the script bin/test_indent
to fix any indentation issue. I also have a few questions a propositions for modifications.
Thank you for your comments ! I can't apply the |
I've applied the indentation |
OK thanks a lot ! I've moved the class at the end of the file as it uses Raii_hid, but I don't know if you'd rather have a forward declaration |
/// The original handler data | ||
void* m_old_data; | ||
|
||
static unsigned get_api_version() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you just add a comment to document the purpose of the function please?
This looks pretty good to me in the code. We just need to handle the more "administrative" parts now (copyright, changelog, etc.) |
@Yushan-Wang , I let you see about the next steps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to go! Thanks!
It will be nice to add a test also. Perhaps in a new PR? |
Indeed, I see the following checked:
What does it refer to? |
I did not consider this a new feature, but rather a bug fix. So I didn't think of the test. |
Ensuring the use of a compatible HDF5 API version during errors handling
List of things to check before making a PR
Before merging your code, please check the following:
.clang-format
;Fix #issue
keyword to autoclose the issue when merged.