MochiLibraries / Biohazrd

A framework for automatically generating binding wrappers for C/C++ libraries
MIT License
60 stars 8 forks source link

Automate calling convention testing #32

Closed PathogenDavid closed 2 years ago

PathogenDavid commented 4 years ago

A medium/long-term goal of Biohazrd is to automate verification of the calling convention to ensure that everything is kosher across the entire API surface.

PathogenDavid commented 4 years ago

We should consider testing behavior of exceptions thrown from virtual methods implemented from C#? If anything but just so we can make some guarantees about how how they work. (If memory serves, they work fine on Windows but are problematic on Linux. Not sure if that's still entirely true.)

PathogenDavid commented 4 years ago

This should also take into consideration CI needs.

PathogenDavid commented 2 years ago

In practice this has not been a problem in a very long time so I don't think it would be worth the effort here. In the long run any concerns here will mostly be covered by manually-authored integration tests.