Skip to content

Feature Request: Add C api for mtmd #13124

@chinshou

Description

@chinshou

Prerequisites

  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.

Feature Description

mtmd api now is C++ api, for example mtmd_tokenize function parameters is C++ vector.

We also need the pure C api to use it from 3rd language bindings.

Motivation

for example: such c api interface will be helpful

MTMD_API int32_t mtmd_tokenize(mtmd_context * ctx,
mtmd_input_chunk** output,
const mtmd_input_text & text,
mtmd_bitmap* bitmaps);

Possible Implementation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions