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

D-to-gir? #28

Open
andre2007 opened this issue Oct 20, 2019 · 1 comment
Open

D-to-gir? #28

andre2007 opened this issue Oct 20, 2019 · 1 comment

Comments

@andre2007
Copy link

Did you considered writing a D to gir generator?

Dmd should output all needed information about extern C definitions and data structures to generate gir files.

Therefore it would be easy to generate wrappers for multiple languages for a D library.

What do you think?

@MikeWey
Copy link
Member

MikeWey commented Oct 21, 2019

For Gobject-Introspection / gir files, the the library needs to be based on GObject, either the C one or the D binding. Not a lot of D libraries are based on GObject, so currently i don't think it's worthwhile.

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

2 participants