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

Allocating into a specific handle #20

Open
nickwanninger opened this issue Jul 21, 2024 · 0 comments
Open

Allocating into a specific handle #20

nickwanninger opened this issue Jul 21, 2024 · 0 comments
Assignees

Comments

@nickwanninger
Copy link
Owner

It would be nice from an API perspective if we could request an allocation be made using a specific handle.

Something like

void *h = halloc_into(target_handle, 32);

would allocate 32 bytes into a specific handle id, target_handle. This would be useful for serialization and sending objects over the network.

@nickwanninger nickwanninger self-assigned this Jul 21, 2024
@nickwanninger nickwanninger added this to the Runtime Rewrite milestone Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant