-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
Description
The entire IL2C relies on wchar_t
being 16-bit.
I was completely oblivious to the fact that such an environment is possible...
- Explanation of the content of the issue: https://stackoverflow.com/questions/35982310/c-sharp-mono-passing-stringbuilder-to-fill-with-unicode-content-in-c?rq=1
- Test log:
private static extern IntPtr wcslen(string message); - https://github.com/kekyo/IL2C/runs/6841226615?check_suite_focus=true#step:15:51
Failed PInvokeWcsLen("ABC") [38 ms] Error Message: Expected: 3 But was: 2 Stack Trace: at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context) at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0() at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
Related #100