squash! llama : rename ctx to user_data in progress_callback

Fix pointer leaning to the right.

Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
This commit is contained in:
Daniel Bevenius 2024-05-03 15:12:14 +02:00
parent 566b32f08d
commit bcda3403da
Failed to extract signature

View file

@ -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