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

Add basic support for experimental arenas #110

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

jess-sol
Copy link
Contributor

Adds:

  • mi_heap_new_in_arena
  • mi_reserve_os_memory_ex
  • mi_manage_os_memory_ex

Useful for allocating to static arenas of memory. Not sure if it makes sense to hide them behind an experimental feature flag? I could break them into an experimental.rs.

First time writing bindings for C code in Rust, so hopefully there aren't any dumb errors

@octavonce octavonce merged commit 7f0a65b into purpleprotocol:master Apr 22, 2024
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.

None yet

2 participants