David Maas

Results 177 comments of David Maas

`InlineExportHelper` also handles the edge case of a non-inline non-method static function found in a header file. These are never found in well-formed C++ libraries, but we should emit a...

Marking this as very high since I don't think B will be all that hard to prototype and this performance issue is affecting InfectedOpenCV pretty heavily.

(Very low prioritization because this only really affects me. You should generally only need this if you're working on low level functionality of Biohazrd. Marked external because it's technically `ClangSharp.Pathogen`...

This is going to be quite a pain. Lots of new stuff has been added to `ClangSharp.Decl` which is only valid to access in the correct context. (`AsFunction`, `Body`, and...

This would be useful here: https://github.com/InfectedLibraries/Biohazrd/issues/211

Added bare minimum support in https://github.com/InfectedLibraries/Biohazrd/commit/da037f714128797fdd36032e9374adfe87a60607. Would like to transition from trampolines to exporting constructors/destructors via dummy calls instead though.

Note that doing this without trampolines is blocked by getting the correct mangling for Itanium destructors since the trampolines are hiding this issue. (https://github.com/InfectedLibraries/Biohazrd/issues/210 and https://github.com/InfectedLibraries/Biohazrd/issues/159 are somewhat related.)

Workaround transformation to rewrite the constant arrays to `byte*[]` arrays: ```csharp using Biohazrd; using Biohazrd.CSharp; using Biohazrd.Transformation; namespace Mochi.MuJoCo.Generator { // This is a workaround for https://github.com/InfectedLibraries/Biohazrd/issues/221 internal sealed class...

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

Semi-related: We also need to enable access to protected inline constructors and methods. They can't be exported using `InlineExportHelper`. https://github.com/InfectedLibraries/Biohazrd/issues/14 is somewhat related as it will likely be solved in...