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

Mark all functions as leaf #8

Open
Keithcat1 opened this issue Jan 12, 2024 · 0 comments
Open

Mark all functions as leaf #8

Keithcat1 opened this issue Jan 12, 2024 · 0 comments

Comments

@Keithcat1
Copy link

Can be done with the functions > leaf config in ffigen's section of pubspec.yaml. This should improve performance for things like SDL_PollEvent which are called often, and allow passing typed lists to functions that normally have to allocate every time, such as the audio functions I think. Don't know if that feature is yet stable though. Leaf functions must not call Dart codee though, but it is possible to mark functions as not leaf specifically I think.

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

No branches or pull requests

1 participant