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

Add :ffi global cpointer declarator to give the address of a C global. #483

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

jemc
Copy link
Contributor

@jemc jemc commented Jun 18, 2024

This is useful for C APIs where a value is declared as a global and it is expected to be used in the C API with the & (address of) operator.

@jemc jemc self-assigned this Jun 18, 2024
This is useful for C APIs where a value is declared as a global and it is
expected to be used in the C API with the `&` (address of) operator.
@jemc jemc merged commit d824ca8 into main Jun 18, 2024
8 checks passed
@jemc jemc deleted the add/ffi-global-cpointer branch June 18, 2024 16:27
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