A use-case for ImportC?
Imperatorn
johan_forsberg_86 at hotmail.com
Tue Jun 8 18:54:05 UTC 2021
On Tuesday, 8 June 2021 at 06:56:40 UTC, WebFreak001 wrote:
> assuming you are writing a program in C - would the ImportC
> feature enable you to write headers in C (like in your existing
> codebase) and then import them for implementation in D?
>
> This would very neatly allow using D in C projects without
> duplicating the struct types, typedef, etc. in both C and D
> files.
That would be nice indeed
More information about the Digitalmars-d
mailing list