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

chore: make it harder to misuse raw pointers #5447

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Nov 15, 2023

replace direct pointer access with closures,

it's still possible to get the raw pointer like this but makes it harder to misuse.

we only need this in public API for benches

@mattsse mattsse added the C-debt Refactor of code section that is hard to understand or maintain label Nov 15, 2023
@mattsse mattsse added this pull request to the merge queue Nov 15, 2023
Merged via the queue into main with commit 0583a96 Nov 15, 2023
25 checks passed
@mattsse mattsse deleted the matt/more-env-ptr-changes branch November 15, 2023 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-debt Refactor of code section that is hard to understand or maintain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants