Refactor Managed-Native conversion - ICustomMarshaler by vmuriart · Pull Request #407 · pythonnet/pythonnet

den-run-ai

den-run-ai

@vmuriart

@vmuriart

@vmuriart

@vmuriart

@vmuriart

@vmuriart

Its redundant with PyUnicode_AsUnicode now that the signature
is fixed between UCS2/UCS4.

Apply char conversion that work on both UCS2/UCS4
This won't change during runtime.