-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Fix a few function names in USAGE comments that don't match the actual #4533
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -413,7 +413,7 @@ H5S_get_select_npoints(const H5S_t *space) | |
Check whether the selection fits within the extent, with the current | ||
offset defined. | ||
USAGE | ||
htri_t H5Sselect_void(dsid) | ||
htri_t H5Sselect_valid(dsid) | ||
hid_t dsid; IN: Dataspace ID to query | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I assume dsid here and spaceid in line 430 are the same. Would it be better if they match? |
||
RETURNS | ||
true if the selection fits within the extent, false if it does not and | ||
|
@@ -451,7 +451,7 @@ H5Sselect_valid(hid_t spaceid) | |
Check whether the selection fits within the extent, with the current | ||
offset defined. | ||
USAGE | ||
htri_t H5S_select_void(space) | ||
htri_t H5S_select_valid(space) | ||
H5S_t *space; IN: Dataspace to query | ||
RETURNS | ||
true if the selection fits within the extent, false if it does not and | ||
|
@@ -921,7 +921,7 @@ H5S_select_adjust_u(H5S_t *space, const hsize_t *offset) | |
PURPOSE | ||
Adjust a selection by subtracting an offset | ||
USAGE | ||
herr_t H5S_select_adjust_u(space, offset) | ||
herr_t H5S_select_adjust_s(space, offset) | ||
H5S_t *space; IN/OUT: Pointer to dataspace to adjust | ||
const hssize_t *offset; IN: Offset to subtract | ||
RETURNS | ||
|
@@ -2786,8 +2786,8 @@ H5S_select_subtract(H5S_t *space, H5S_t *subtract_space) | |
PURPOSE | ||
Create a dataspace selection iterator for a dataspace's selection | ||
USAGE | ||
hid_t H5Ssel_iter_create(space) | ||
hid_t space; IN: ID of the dataspace with selection to iterate over | ||
hid_t H5Ssel_iter_create(space,elmt_size,flags) | ||
hid_t space; IN: ID of the dataspace with selection to iterate over | ||
RETURNS | ||
Valid dataspace selection iterator ID on success, H5I_INVALID_HID on failure | ||
DESCRIPTION | ||
|
@@ -2997,7 +2997,7 @@ H5S_select_contig_block(H5S_t *space, bool *is_contig, hsize_t *off, size_t *len | |
PURPOSE | ||
Resets a dataspace selection iterator back to an initial state. | ||
USAGE | ||
herr_t H5Ssel_iter_reset(sel_iter_id) | ||
herr_t H5Ssel_iter_reset(sel_iter_id,space_id) | ||
hid_t sel_iter_id; IN: ID of the dataspace selection iterator to | ||
reset | ||
hid_t space_id; IN: ID of the dataspace with selection to | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Should this be added, or is it too obvious?