Skip to content

Commit 95b6e52

Browse files
authored
added struct to llama_dump_timing_info_yaml's llama_context (#2857)
fixes C compat.
1 parent 44c117f commit 95b6e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ extern "C" {
521521
// If this is not called, or NULL is supplied, everything is output on stderr.
522522
LLAMA_API void llama_log_set(llama_log_callback log_callback, void * user_data);
523523

524-
LLAMA_API void llama_dump_timing_info_yaml(FILE * stream, const llama_context * ctx);
524+
LLAMA_API void llama_dump_timing_info_yaml(FILE * stream, const struct llama_context * ctx);
525525

526526
#ifdef __cplusplus
527527
}

0 commit comments

Comments
 (0)