Thick bingings and Deimos
Vladimir Panteleev
thecybershadow.lists at gmail.com
Thu Jan 24 15:31:11 UTC 2019
On Thursday, 24 January 2019 at 10:48:12 UTC, Victor Porton wrote:
> I found: https://wiki.dlang.org/Deimos "Translated header
> should not require linkage of any D binary."
>
> Thus it seems that I cannot create OO wrappers around C code
> like this:
>
> struct Wrapper {
> this() { theclibrary_init(); }
> ~this() { theclibrary_finalize(); }
> }
>
> It is sad that I cannot do this in Deimos. What to do?
I updated https://wiki.dlang.org/Deimos with some clarifications.
Hope that helps.
More information about the Digitalmars-d
mailing list