]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
llama : add missing LLAMA_API for llama_chat_builtin_templates (#10636)
authorXuan Son Nguyen <redacted>
Tue, 3 Dec 2024 11:54:30 +0000 (12:54 +0100)
committerGitHub <redacted>
Tue, 3 Dec 2024 11:54:30 +0000 (12:54 +0100)
include/llama.h

index 439e0ff0c7e0c8696035373bc577ef42fa0a228a..e85f459fc460fa6a3531144ca285f86155026362 100644 (file)
@@ -991,7 +991,7 @@ extern "C" {
                                int32_t   length);
 
     // Get list of built-in chat templates
-    int32_t llama_chat_builtin_templates(const char ** output, size_t len);
+    LLAMA_API int32_t llama_chat_builtin_templates(const char ** output, size_t len);
 
     //
     // Sampling API