Skip to content

Added aligned memory management methods #1778

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iiMidknightii
Copy link

Implements aligned memory management on the godot-cpp side of the extension interface. See proposal.

In this implementation, the interface itself is not updated and instead the godot-cpp side uses the same methodology as the engine to allocate memory in an aligned manner, using the existing alloc_static interface. There is commented code in several files that can be used to interface with the engine side interface implementation if that is preferred instead.

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.

1 participant