소스 검색

llama : add missing LLAMA_API for llama_chat_builtin_templates (#10636)

Xuan Son Nguyen 1 년 전
부모
커밋
3b4f2e33e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/llama.h

+ 1 - 1
include/llama.h

@@ -991,7 +991,7 @@ extern "C" {
                                int32_t   length);
                                int32_t   length);
 
 
     // Get list of built-in chat templates
     // 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
     // Sampling API