From fecf662ec1b58ac1070d5bb085a9199df0b021c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20G=C3=A4=C3=9Fler?= Date: Sat, 14 Dec 2024 18:07:46 +0100 Subject: [PATCH] try Windows fix --- ggml/src/ggml-impl.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ggml/src/ggml-impl.h b/ggml/src/ggml-impl.h index 8c4753b3235a1..549772c57c90a 100644 --- a/ggml/src/ggml-impl.h +++ b/ggml/src/ggml-impl.h @@ -553,19 +553,19 @@ static inline ggml_bf16_t ggml_compute_fp32_to_bf16(float s) { // expose GGUF internals for test code -size_t gguf_type_size(enum gguf_type type); +GGML_API size_t gguf_type_size(enum gguf_type type); -struct gguf_context * gguf_init_from_file_impl(FILE * file, struct gguf_init_params params); +GGML_API struct gguf_context * gguf_init_from_file_impl(FILE * file, struct gguf_init_params params); struct gguf_buf { void * data; size_t size; size_t offset; }; -struct gguf_buf gguf_buf_init(size_t size); -void gguf_buf_free(struct gguf_buf buf); +GGML_API struct gguf_buf gguf_buf_init(size_t size); +GGML_API void gguf_buf_free(struct gguf_buf buf); -void gguf_write_to_buf(const struct gguf_context * ctx, struct gguf_buf * buf, bool only_meta); +GGML_API void gguf_write_to_buf(const struct gguf_context * ctx, struct gguf_buf * buf, bool only_meta); #ifdef __cplusplus }