From 78f57ffd908d9ced48a78546ee9c4fdfbf662168 Mon Sep 17 00:00:00 2001 From: klosax <131523366+klosax@users.noreply.github.com> Date: Fri, 28 Jul 2023 22:28:56 +0200 Subject: [PATCH] ggml.h : add gguf_find_key --- ggml.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ggml.h b/ggml.h index e857b3f14..a72c82a33 100644 --- a/ggml.h +++ b/ggml.h @@ -1653,6 +1653,7 @@ extern "C" { GGML_API void * gguf_get_data (struct gguf_context * ctx); GGML_API int gguf_get_n_kv(struct gguf_context * ctx); + GGML_API int gguf_find_key(struct gguf_context * ctx, const char * key); GGML_API const char * gguf_get_key (struct gguf_context * ctx, int i); GGML_API void gguf_get_val (struct gguf_context * ctx, int i, void * val);