Skip to content

Commit 268d61e

Browse files
authored
mtmd: add missing struct tag (ggml-org#22023)
1 parent 6990e2f commit 268d61e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/mtmd/mtmd-helper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ MTMD_API llama_pos mtmd_helper_get_n_pos(const mtmd_input_chunks * chunks);
4949

5050
// helper to get the list of relative positions corresponding to the embedding tokens, to be used by M-RoPE
5151
// out_pos must have length == mtmd_helper_get_n_tokens(image)
52-
MTMD_API void mtmd_helper_image_get_decoder_pos(const mtmd_image_tokens * image, mtmd_decoder_pos * out_pos);
52+
MTMD_API void mtmd_helper_image_get_decoder_pos(const mtmd_image_tokens * image, struct mtmd_decoder_pos * out_pos);
5353

5454
// helper function that automatically:
5555
// 1. run llama_decode() on text chunks

0 commit comments

Comments
 (0)