D as an extension language for C
Walter Bright
newshound2 at digitalmars.com
Mon May 15 19:13:49 UTC 2023
On 5/15/2023 5:20 AM, jmh530 wrote:
> importC lets you import .c file in D, but not a .h file. To import a .h file in
> D, I have to create a .c file and include only the .h file header and then
> import the .c file. Would you be able to streamline that further so that the .h
> file can be imported?
The .h file limitation is due to a disagreement between myself and Iain about
the best way forward for it.
More information about the Digitalmars-d
mailing list