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

Convert allocation to @Native leaf FFI calls #922

Open
dcharkes opened this issue May 30, 2023 · 0 comments
Open

Convert allocation to @Native leaf FFI calls #922

dcharkes opened this issue May 30, 2023 · 0 comments
Assignees

Comments

@dcharkes
Copy link
Collaborator

https://github.com/dart-lang/ffi/blob/main/lib/src/allocation.dart uses DynamicLibrary.process on non-Windows which can be converted to @Natives which default to process lookup.

We need to double-check if ole32.dll is always loaded, if so, we can also convert the Windows path to @Native.

Also, the calls should all be leaf-calls.

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