How to convert C to D using compiler?

ManKey mensikovk817 at gmail.com
Tue Dec 7 16:52:47 UTC 2021


On Tuesday, 7 December 2021 at 16:49:58 UTC, 12345swordy wrote:
> On Tuesday, 7 December 2021 at 16:43:21 UTC, ManKey wrote:
>> I tried this
>> ```
>> ldc2 test.i -mixin="test.d"
>> ```
>> but the test.d file is empty :(
>
> https://dlang.org/spec/importc.html

I just want to convert from C file to D file, don't import it


More information about the Digitalmars-d mailing list