From: Marcus Dunn Date: Tue, 29 Aug 2023 06:33:27 +0000 (-0700) Subject: added `struct` to llama_dump_timing_info_yaml's `llama_context` (#2857) X-Git-Tag: gguf-v0.4.0~197 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=95b6e5212f5e4e1419de1d833d7f8d788f9f2227;p=pkg%2Fggml%2Fsources%2Fllama.cpp added `struct` to llama_dump_timing_info_yaml's `llama_context` (#2857) fixes C compat. --- diff --git a/llama.h b/llama.h index b38d3be2..6e5e1df6 100644 --- 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 }