Skip to content

Generate C Function #27

@yulingtianxia

Description

@yulingtianxia

有一些 API 是 C 函数,理论上可以自动生成 Dart 接口。
需要注意的是,需要 Native Header 文件暴露接口,可以参考 dart_native 中 _dispatch_get_main_queue 的实现,生成一层封装并通过 DN_EXTERN 暴露。或者想个更牛逼的解决方案,嗯。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions