Biohazrd icon indicating copy to clipboard operation
Biohazrd copied to clipboard

Investigate using source generators to simplify handling return buffer semantics when overriding C++ classes from C#

Open PathogenDavid opened this issue 3 years ago • 1 comments

We could use source generators to automatically generate the vtable stuff for C# overrides of C++ classes to avoid having the C# consumer from worrying about the thisptr/retbuf semantics without sacrificing performance or generating a bunch of different vtables.

PathogenDavid avatar Jun 06 '21 02:06 PathogenDavid

Related: https://github.com/InfectedLibraries/Biohazrd/issues/89

PathogenDavid avatar Jun 21 '21 20:06 PathogenDavid