-
Notifications
You must be signed in to change notification settings - Fork 314
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 D modules #866
Labels
Comments
kassane
added a commit
to kassane/cbindgen
that referenced
this issue
Sep 29, 2024
closes: mozilla#866
@vanillajonathan , please test https://github.com/kassane/cbindgen/tree/dlang (WiP) - |
This was referenced Oct 1, 2024
kassane
added a commit
to kassane/cbindgen
that referenced
this issue
Oct 30, 2024
closes: mozilla#866 * enable c++ compat * fix struct/enum/union (semicolon) * fix casts * C++ namespace support * typedefs to alias * attributes added (`@nogc`, `nothrow`, `@safe`) scope * D file on tests enabled * D generic instaciation (`Foo!(T, U)`, similar to `Foo<T, U>`) * disable enum typedef (like C++) * add struct-literals * build all tests/expectations
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In addition to C headers and C++ headers, add support for generating D modules.
D have different types than C, here is a guide:
https://wiki.dlang.org/D_binding_for_C
The text was updated successfully, but these errors were encountered: