On Sunday, 1 September 2024 at 16:18:47 UTC, Selim Ozel wrote:

I am still scratching my head about how I did this and if I made any mistakes because it feels quite un-natural to be able to link together an output compiled by gcc with dmd. If someone could please explain how & why this works, I'd greatly appreciate it!

https://dlang.org/spec/interfaceToC.html
https://dlang.org/spec/importc.html

Quite natural, actually.

Reply via email to