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

BUG: add support for long long pixel types in PyBuffer #2557

Merged
merged 1 commit into from
May 28, 2021

Conversation

dzenanz
Copy link
Member

@dzenanz dzenanz commented May 28, 2021

Version of #2554 for release branch.

@dzenanz dzenanz requested a review from thewtex May 28, 2021 13:48
@github-actions github-actions bot added the type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances label May 28, 2021
@dzenanz dzenanz requested a review from Leengit May 28, 2021 13:50
Copy link
Contributor

@Leengit Leengit left a comment

Choose a reason for hiding this comment

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

This looks good to me.

Bigger picture than this PR is that on most (or all?) of our systems, the types UI, UL, and ULL collectively represent just the two uint32_t and uint64_t, so we are wrapping 2 sizes for the price of 3. Ideally, we would somehow map UL to its equivalent type in those stituations where it is equal to UI or ULL -- instead of wrapping UL separately. (Likewise for signed ints.)

@dzenanz dzenanz merged commit f0431a1 into InsightSoftwareConsortium:release May 28, 2021
@dzenanz dzenanz deleted the pyBufferULL branch May 28, 2021 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants