Skip to content

Conversation

martindevans
Copy link
Member

  • Removed unnecessary constructors from safe handles
  • Returning SafeLLamaGrammarHandle directly from llama_grammar_init and llama_grammar_copy instead of raw IntPtr

 - Returning SafeLLamaGrammarHandle directly from `llama_grammar_init` and `llama_grammar_copy`
@martindevans martindevans merged commit 18586cc into SciSharp:master Apr 26, 2024
@martindevans martindevans deleted the safe_handle_constructor_refactor branch April 26, 2024 15:14
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.

2 participants