summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Dunn <51931484+MarcusDunn@users.noreply.github.com>2023-08-28 23:33:27 -0700
committerGitHub <noreply@github.com>2023-08-29 09:33:27 +0300
commit95b6e5212f5e4e1419de1d833d7f8d788f9f2227 (patch)
tree60df9ce1635d8dd39707498f10a2ad29e11be705
parent44c117f41ee01c5ac8fb86bba041f08d8b87b46d (diff)
added `struct` to llama_dump_timing_info_yaml's `llama_context` (#2857)
fixes C compat.
-rw-r--r--llama.h2
1 files changed, 1 insertions, 1 deletions
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
}