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

prepare for new version of libdeflate with thread-safe alloc functions #1425

Merged
merged 1 commit into from
May 21, 2023

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented May 21, 2023

Removes all other calls to internal_exr_alloc if there is a context, allowing full memory allocator overload without setting global functions.

Also cleanup code formatting

… mechanism

Removes all other calls to internal_exr_alloc if there is a context,
allowing full memory allocator overload without setting global
functions.

Also cleanup code formatting

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
Copy link
Contributor

@meshula meshula left a comment

Choose a reason for hiding this comment

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

as best as i can tell from visual inspection, you've got libdeflate prior to the mem fn compatibility change and post all wired through to work both ways.

I do wonder if the formatting changes are going to cause clang format to introduce a large number of unwanted changes if anyone runs it? Consequently, I wonder if the clang format file should be relaxed a bit to allow the freer formatting you're using. I prefer the relaxed style you are using FWIW

@kdt3rd kdt3rd merged commit 9e47dfd into AcademySoftwareFoundation:main May 21, 2023
27 checks passed
@kdt3rd kdt3rd deleted the cleanup_alloc_usage branch May 21, 2023 09:12
@cary-ilm cary-ilm added the v3.2.0 label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants