-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
Make H5F_LIBVER_LATEST a real enum value #5083
Conversation
It was formerly a macro, but is now an enum value with the same value as the latest numbered API.
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.
The Java changes are just a re-ordering, putting LATEST in front of NBOUNDS
H5F_LIBVER_V112 = 3, /**< Use the 1.12 file format for storing objects */ | ||
H5F_LIBVER_V114 = 4, /**< Use the 1.14 file format for storing objects */ | ||
H5F_LIBVER_V200 = 5, /**< Use the 2.0 file format for storing objects */ | ||
H5F_LIBVER_LATEST = 5, /**< Use the latest file format for storing objects */ | ||
H5F_LIBVER_NBOUNDS /**< Sentinel */ |
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.
We probably want to check what consequences this will have by making H5F_LIBVER_NBOUNDS
inaccurate as a counting sentinel value. H5F_LIBVER_NBOUNDS
is used in several places in the library.
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.
I'll take a look
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.
Fortran should not be affected.
It was formerly a macro, but is now an enum value with the same value as the latest numbered API.