ImportC rocks!

Tejas notrealemail at gmail.com
Sun Mar 13 02:45:14 UTC 2022


On Saturday, 12 March 2022 at 15:26:02 UTC, bachmeier wrote:
> On Saturday, 12 March 2022 at 10:03:28 UTC, Ki Rill wrote:
>> [...]
>
> While there's more work that needs to be done, it'll be nice to 
> be able to do things like add an sqlite dependency without 
> needing the end user to mess around with sqlite. You can 
> already do that by compiling the header with ImportC and using 
> a C compiler to compile the library. I'm looking forward to the 
> day I can add sqlite as a Dub dependency and let D compile 
> everything.

What is wrong with using `etc.c.sqlite3`?
https://dlang.org/phobos/etc_c_sqlite3.html


More information about the Digitalmars-d mailing list