Skip to content

Undefine the allocator for Patricia to prevent warnings - #1

Open
tedaford wants to merge 2 commits into
jkitching:masterfrom
tedaford:master
Open

Undefine the allocator for Patricia to prevent warnings#1
tedaford wants to merge 2 commits into
jkitching:masterfrom
tedaford:master

Conversation

@tedaford

@tedaford tedaford commented Sep 9, 2024

Copy link
Copy Markdown

This should allow Ruby 3.3.x compatibility

@jkitching

jkitching commented Sep 10, 2024 via email

Copy link
Copy Markdown
Owner

@Roguelazer

Copy link
Copy Markdown

In case anyone else runs into this through google, this should read

rb_undef_alloc_func(cNode);

cPatricia actually requires a custom allocator.

@tedaford

Copy link
Copy Markdown
Author

PR updated per your suggestion @Roguelazer , you seem to know a bit more about the underlying cPatricia code than I do. Thanks!

@tedaford
tedaford marked this pull request as ready for review June 10, 2025 20:30
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