]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
added `struct` to llama_dump_timing_info_yaml's `llama_context` (#2857)
authorMarcus Dunn <redacted>
Tue, 29 Aug 2023 06:33:27 +0000 (23:33 -0700)
committerGitHub <redacted>
Tue, 29 Aug 2023 06:33:27 +0000 (09:33 +0300)
fixes C compat.

llama.h

diff --git a/llama.h b/llama.h
index b38d3be206115eb7c46db3f0885f0f5e6a90f52e..6e5e1df633f7f0e7a0eec68bb156a1aca2571aab 100644 (file)
--- a/llama.h
+++ b/llama.h
@@ -521,7 +521,7 @@ extern "C" {
     // If this is not called, or NULL is supplied, everything is output on stderr.
     LLAMA_API void llama_log_set(llama_log_callback log_callback, void * user_data);
 
-    LLAMA_API void llama_dump_timing_info_yaml(FILE * stream, const llama_context * ctx);
+    LLAMA_API void llama_dump_timing_info_yaml(FILE * stream, const struct llama_context * ctx);
 
 #ifdef __cplusplus
 }