You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two tests didn't seem to succeed even after I reverted the code I was working on. The function call did go through, but some data coming from C# was uninitialized in C++. C# context everything looked fine.
It seems there is a size difference between C# std.BasicString (32 bytes) and C++ std::basic_string (40 bytes). These tests did not fail on the pull request #1887, hence I would conclude that Windows has some extra payload when compiling on debug.
How is Std.cs generated? With headers attached to Std module?
Is this just that CppSharp does not define _RELEASE or _DEBUG for clang, so the header is different from the binary?
Brief Description
Two tests didn't seem to succeed even after I reverted the code I was working on. The function call did go through, but some data coming from C# was uninitialized in C++. C# context everything looked fine.
It seems there is a size difference between C#
std.BasicString
(32 bytes) and C++ std::basic_string (40 bytes). These tests did not fail on the pull request #1887, hence I would conclude that Windows has some extra payload when compiling on debug.How is Std.cs generated? With headers attached to Std module?
Is this just that CppSharp does not define
_RELEASE
or_DEBUG
for clang, so the header is different from the binary?OS: Windows
std::basic_string size on C++
std.BasicString on Std.cs on VTables.CSharp:
The text was updated successfully, but these errors were encountered: