Detect the size of wchar_t (aka Runtime.UCS) at runtime using PyUnicode_GetMax by lostmsu · Pull Request #1298 · pythonnet/pythonnet
What does this implement/fix? Explain your changes.
This determines the value for Runtime.UCS at runtime instead of using compile-time defines, removing the need for separate builds of Python.Runtime.
Does this close any currently open issues?
N/A
Any other comments?
PyUnicode_GetMax is deprecated, but preserved for compatibility.
Checklist
Check all those that are applicable and complete.