mozilla / cbindgen

A project for generating C bindings from Rust code
Mozilla Public License 2.0
2.37k stars 304 forks source link

Generate D modules #866

Open vanillajonathan opened 1 year ago

vanillajonathan commented 1 year ago

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

kassane commented 1 day ago

@vanillajonathan , please test https://github.com/kassane/cbindgen/tree/dlang (WiP) - no D/C++ generics support yet.