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

Generate native getter functions for extern variables #68

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

BeanCheeseBurrito
Copy link
Owner

This PR updates Flecs.NET.Bindgen to generate native getter functions for flecs's extern variables. A helper C file is generated and outputted to the /native/flecs_helpers.c file to be compiled alongside flecs. This change allows flecs to be statically linked to native aot applications.

@BeanCheeseBurrito BeanCheeseBurrito merged commit 25213ac into main Oct 30, 2024
6 checks passed
@BeanCheeseBurrito BeanCheeseBurrito deleted the static-linking-fix branch October 30, 2024 13:50
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