Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate C Function #27

Open
yulingtianxia opened this issue Jun 21, 2020 · 0 comments
Open

Generate C Function #27

yulingtianxia opened this issue Jun 21, 2020 · 0 comments

Comments

@yulingtianxia
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant