8000 Added `enum` to `llama_token_get_type` return type (#2774) · CodeLinaro/llama.cpp@2e5f70a · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e5f70a

Browse files
authored
Added enum to llama_token_get_type return type (ggml-org#2774)
1 parent d0f77b1 commit 2e5f70a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ extern "C" {
348348

349349
LLAMA_API float llama_token_get_score(const struct llama_context * ctx, llama_token token);
350350

351-
LLAMA_API llama_token_type llama_token_get_type(const struct llama_context * ctx, llama_token token);
351+
LLAMA_API enum llama_token_type llama_token_get_type(const struct llama_context * ctx, llama_token token);
352352

353353
// Special tokens
354354
LLAMA_API llama_token llama_token_bos(const struct llama_context * ctx); // beginning-of-sentence

0 commit comments

Comments
 (0)
0