summaryrefslogtreecommitdiff
path: root/llama.h
diff options
context:
space:
mode:
Diffstat (limited to 'llama.h')
-rw-r--r--llama.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llama.h b/llama.h
index 422f2852..5b95aaa8 100644
--- a/llama.h
+++ b/llama.h
@@ -410,6 +410,8 @@ extern "C" {
LLAMA_API void llama_grammar_free(struct llama_grammar * grammar);
+ LLAMA_API struct llama_grammar * llama_grammar_copy(const struct llama_grammar * grammar);
+
//
// Sampling functions
//