llama : constified llama_set_state_data
's src
(#5774)
This commit is contained in:
parent
87c91c0766
commit
d5ab29757e
2 changed files with 4 additions and 4 deletions
2
llama.h
2
llama.h
|
@ -575,7 +575,7 @@ extern "C" {
|
|||
// Returns the number of bytes read
|
||||
LLAMA_API size_t llama_set_state_data(
|
||||
struct llama_context * ctx,
|
||||
uint8_t * src);
|
||||
const uint8_t * src);
|
||||
|
||||
// Save/load session file
|
||||
LLAMA_API bool llama_load_session_file(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue