diff options
author | Kamil Tomšík <info@tomsik.cz> | 2023-08-14 15:35:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-14 16:35:16 +0300 |
commit | 348acf188c9fbe66396990f2dc83229df367969b (patch) | |
tree | c1553569ca4e2360e15c878d7d2502b4da0b8857 | |
parent | 1cd06fa25eb859b14b3427a1d815a48f25fc3c34 (diff) |
llama : add missing enum keyword in function signatures (#2610)
-rw-r--r-- | llama.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |