summaryrefslogtreecommitdiff
path: root/llama.h
diff options
context:
space:
mode:
authorMarcus Dunn <51931484+MarcusDunn@users.noreply.github.com>2024-02-29 00:17:23 -0800
committerGitHub <noreply@github.com>2024-02-29 10:17:23 +0200
commitd5ab29757ebc59a30f03e408294ec20628a6374e (patch)
tree4c5ee7499d67d264f913fbc41a2df2ad6cf1612e /llama.h
parent87c91c07663b707e831c59ec373b5e665ff9d64a (diff)
llama : constified `llama_set_state_data`'s `src` (#5774)
Diffstat (limited to 'llama.h')
-rw-r--r--llama.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llama.h b/llama.h
index a6823bb2..4d0ebe37 100644
--- a/llama.h
+++ b/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(