From bcda3403da8867972953bdeb92f0b01ed43169c3 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Fri, 3 May 2024 15:12:14 +0200 Subject: [PATCH] squash! llama : rename ctx to user_data in progress_callback Fix pointer leaning to the right. Signed-off-by: Daniel Bevenius --- llama.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama.h b/llama.h index d1e0ecf9a..790339af9 100644 --- a/llama.h +++ b/llama.h @@ -171,7 +171,7 @@ extern "C" { bool sorted; } llama_token_data_array; - typedef bool (*llama_progress_callback)(float progress, void *user_data); + typedef bool (*llama_progress_callback)(float progress, void * user_data); // Input data for llama_decode // A llama_batch object can contain input about one or many sequences