Skip to content

Commit c25bd71

Browse files
ggerganovarthw
authored andcommitted
llama-ext : fix exports (ggml-org#22202)
1 parent 665412b commit c25bd71

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/llama-ext.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ struct llama_device_memory_data {
8282
// TODO: convert to C-style data structure
8383
using llama_memory_breakdown = std::map<ggml_backend_buffer_type_t, llama_memory_breakdown_data>;
8484

85-
int32_t llama_model_n_expert (const struct llama_model * model);
86-
int32_t llama_model_n_devices(const struct llama_model * model);
85+
LLAMA_API int32_t llama_model_n_expert (const struct llama_model * model);
86+
LLAMA_API int32_t llama_model_n_devices(const struct llama_model * model);
8787

88-
ggml_backend_dev_t llama_model_get_device(const struct llama_model * model, int i);
88+
LLAMA_API ggml_backend_dev_t llama_model_get_device(const struct llama_model * model, int i);
8989

90-
llama_memory_breakdown llama_get_memory_breakdown(const struct llama_context * ctx);
90+
LLAMA_API llama_memory_breakdown llama_get_memory_breakdown(const struct llama_context * ctx);

0 commit comments

Comments
 (0)