The forked elephant in the room
Walter Bright
newshound2 at digitalmars.com
Sun Jan 28 17:03:07 UTC 2024
On 1/28/2024 4:41 AM, ryuukk_ wrote:
> And i thank you a lot for ImportC, just last week it saved me a ton of time
>
> I needed a voronoi library for some proc-gen, i could have wrote it myself but
> would take me too long, so instead went to C land, and simply just imported this
> library:
>
> https://github.com/JCash/voronoi
>
> ```c
> #define JC_VORONOI_IMPLEMENTATION
> #include "jc_voronoi.h"
> ```
>
> And in D:
>
> ```d
> import jc_voronoi;
> ```
>
> And voila, everything works out of the box
Your post makes me happy! Thank you for letting me know this.
More information about the Digitalmars-d
mailing list