For the ImportC feature, one must use the keyword "importC" instead of "import"
IchorDev
zxinsworld at gmail.com
Sat Mar 30 14:28:23 UTC 2024
On Sunday, 24 March 2024 at 08:48:43 UTC, Илья wrote:
> "import" imports both .c files and .d files while they can be
> named the same.This is a problem.
> In addition, during the import .c files compiler acts a little
> differently.
I think `import(C)` would be a good syntax, because we already
have this syntax for `extern`. As to the importance of this
feature, it's hard for me to say.
More information about the dip.ideas
mailing list