From: Kamil Tomšík Date: Mon, 14 Aug 2023 13:35:16 +0000 (+0200) Subject: llama : add missing enum keyword in function signatures (#2610) X-Git-Tag: gguf-v0.4.0~322 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=348acf188c9fbe66396990f2dc83229df367969b;p=pkg%2Fggml%2Fsources%2Fllama.cpp llama : add missing enum keyword in function signatures (#2610) --- diff --git a/llama.h b/llama.h index d237bcc5..92b47489 100644 --- a/llama.h +++ b/llama.h @@ -97,7 +97,7 @@ extern "C" { // If your logging mechanism cannot handle that, check if the last character is '\n' and strip it // if it exists. // It might not exist for progress report where '.' is output repeatedly. - typedef void (*llama_log_callback)(llama_log_level level, const char * text, void * user_data); + typedef void (*llama_log_callback)(enum llama_log_level level, const char * text, void * user_data); struct llama_context_params { uint32_t seed; // RNG seed, -1 for random