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

Improve API for setting pointer mode #371

Merged
merged 4 commits into from
Oct 25, 2023
Merged

Improve API for setting pointer mode #371

merged 4 commits into from
Oct 25, 2023

Conversation

maleadt
Copy link
Owner

@maleadt maleadt commented Oct 25, 2023

Adds an opaque_pointers kwarg to the Context and ThreadSafeContext constructors, while checking that the flag hasn't been set already. This relies on JuliaLang/julia#51840, which makes it so that Julia doesn't default to setting this flag (preventing us from changing the setting).

@maleadt maleadt changed the title Default to creating contexts that use typed pointers. Improve API for setting pointer mode Oct 25, 2023
@maleadt maleadt merged commit af1ca6a into master Oct 25, 2023
17 of 20 checks passed
@maleadt maleadt deleted the tb/opaque_default branch October 25, 2023 13:24
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