Thick bingings and Deimos

Victor Porton porton at narod.ru
Thu Jan 24 10:48:12 UTC 2019


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?


More information about the Digitalmars-d mailing list