importC | Using D with Raylib directly | No bindings | [video]
Petar
Petar
Mon Aug 8 13:01:46 UTC 2022
On Monday, 8 August 2022 at 05:39:29 UTC, Ki Rill wrote:
> On Sunday, 7 August 2022 at 13:53:12 UTC, Steven Schveighoffer
> wrote:
>> Also, IIRC, in the latest master of DMD, there is an attempt
>> to run the system preprocessor automatically. But I'm not sure
>> of the state of it, or if it's in the latest release (which we
>> are having trouble publishing still).
>
> I've read about this somewhere. It would be nice to have the
> preprocessor run automatically and, maybe in the future, add
> those #defines for the user.
I think this was recently documented here:
https://dlang.org/spec/importc.html#preprocessor
Give it a read, try it out and let us know how it works out!
More information about the Digitalmars-d-announce
mailing list