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

Better warnings for resized sub-buffers in DEBUGGING mode #590

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

jodavies
Copy link
Collaborator

Add a function argument to AllocSort to specify which buffers are being allocated. This makes it straightforward to print an appropriate warning message.

Add a function argument to AllocSort to specify which buffers are
being allocated. This makes it straightforward to print an appropriate
warning message.
@coveralls
Copy link

Coverage Status

coverage: 50.339% (-0.02%) from 50.356%
when pulling 19dc25f on jodavies:buffer-resize-warnings
into fc829af on vermaseren:master.

Copy link
Collaborator

@tueda tueda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, it might be worth converting the comment of AllocSort into Doxygen style, but it would be tedious and too verbose to make @param for all the parameters...

/*
 		#] WriteSetup : 
 		#[ AllocSort :
*/

/**
 * Routine allocates...
 *
 * @param[in] ...
 * @return ...
 */
SORTING *AllocSort(LONG inLargeSize, ...

So, I think the current PR is acceptable.

@jodavies jodavies merged commit 2323b84 into vermaseren:master Nov 27, 2024
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants