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

Safer Handle Initialisation #417

Merged

Conversation

martindevans
Copy link
Member

Moved some native methods to do with creating/destroying resources into their respective handles. There is no safe way to call most of these methods, everything must be done through through handles, by moving them into their respective classes they can be made private ensuring they are never mis-used.

…to their respective handles. There is **no** safe way to call most of these methods, everything must be done through through handles.
@martindevans martindevans merged commit 9573e2c into SciSharp:master Jan 7, 2024
3 checks passed
@martindevans martindevans deleted the safe_handle_initialisation branch January 7, 2024 00:13
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