Skip to content

Commit 348acf1

Browse files
authored
llama : add missing enum keyword in function signatures (#2610)
1 parent 1cd06fa commit 348acf1

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
@@ -97,7 +97,7 @@ extern "C" {
9797
// If your logging mechanism cannot handle that, check if the last character is '\n' and strip it
9898
// if it exists.
9999
// It might not exist for progress report where '.' is output repeatedly.
100-
typedef void (*llama_log_callback)(llama_log_level level, const char * text, void * user_data);
100+
typedef void (*llama_log_callback)(enum llama_log_level level, const char * text, void * user_data);
101101

102102
struct llama_context_params {
103103
uint32_t seed; // RNG seed, -1 for random

0 commit comments

Comments
 (0)