Skip to content

[ffigen] Dart API: Support symbol file imports #2598

Closed

Description

@dcharkes

The Dart API has a way to output symbol files, but no way to import them currently.

Note, when we move from json to dart files, the import of symbols will probably be a Dart import:

Context:

Activity

  1. liamappelbe commented on Sep 3, 2026

    @liamappelbe
    Contributor

    I think the best approach here would be a util that takes a symbol file and returns a closure that can be assigned to FfiGenerator.importType.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions