]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
mtmd: add missing struct tag (#22023)
author65a <redacted>
Fri, 17 Apr 2026 08:48:33 +0000 (01:48 -0700)
committerGitHub <redacted>
Fri, 17 Apr 2026 08:48:33 +0000 (10:48 +0200)
tools/mtmd/mtmd-helper.h

index 8cadf42b49ba09742c057aa8a2bc6421123f50f7..ff34a412141eec5bf699bf9c8984a5635f3baeb8 100644 (file)
@@ -49,7 +49,7 @@ MTMD_API llama_pos mtmd_helper_get_n_pos(const mtmd_input_chunks * chunks);
 
 // helper to get the list of relative positions corresponding to the embedding tokens, to be used by M-RoPE
 // out_pos must have length == mtmd_helper_get_n_tokens(image)
-MTMD_API void mtmd_helper_image_get_decoder_pos(const mtmd_image_tokens * image, mtmd_decoder_pos * out_pos);
+MTMD_API void mtmd_helper_image_get_decoder_pos(const mtmd_image_tokens * image, struct mtmd_decoder_pos * out_pos);
 
 // helper function that automatically:
 // 1. run llama_decode() on text chunks