David Maas

Results 177 comments of David Maas

The good news is it did work besides that, and it exported the constructor/destructor too. Unfortunately I don't think this approach is likely to be realistic except for libraries which...

Once added this should be used to replace [`InlineExportHelper.__ItaniumExportMode`](https://github.com/InfectedLibraries/Biohazrd/blob/49b0a704e455623cbedb2c54c9386d43b40317b5/Biohazrd.Utilities/InlineExportHelper.cs#L24) with an automatic check. (Main issue: https://github.com/InfectedLibraries/Biohazrd/issues/209)

This is also somewhat of an issue with [`MoveLooseDeclarationsIntoTypesTransformation`](https://github.com/InfectedLibraries/Biohazrd/blob/23589dbdba1590a863097eba071bb0f5c7919df0/Biohazrd.CSharp/%23Transformations/MoveLooseDeclarationsIntoTypesTransformation.cs) because it uses the file paths to determine which type the loose declaration is associated with. (Although if the wrong casing...

Here's the scenario that the case-insensitive path comparisons in Biohazrd is trying to solve. Consider the following library with two header files: **`FileA.h`** ```cpp #pragma once #include "fileb.h" //

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...

Appended title to clarify that this does not happen with explicit template instantiations. (This is covered by `TemplateTests.ExplicitTemplateSpecialization`) The issues outlined in this issue should be covered by `TemplateTests.ImplicitTemplateSpecialization_NestedRecord`

If I remember how `va_list` works internally, supporting it should be relatively simple. So a good starting point should be to support that, which should cover any C++ libraries that...

Some notes from quick-and-dirty messing with implementing vargs manually to test ImGui: CRT puts most of the implementation of vargs in macros in `vadefs.h` for x86: ```c #define _INTSIZEOF(n) ((sizeof(n)...

I broke out `va_list` support to https://github.com/InfectedLibraries/Biohazrd/issues/164 as it's much simpler than "proper" variable arguments.

> (TODO: Everything below applies to the Microsoft ABI with the CRT implementation of `va_list`. Need to investigate whether others are the same.) Briefly looked at Linux and friends today,...