PyUnicode_FromWideChar

Create a Unicode Object from the whcar_t buffer w of the given size.

The buffer is copied into the new object.

  1. PyObject* PyUnicode_FromWideChar(const(wchar)* w, Py_ssize_t size)
  2. alias PyUnicode_FromWideChar = PyUnicodeUCS2_FromWideChar
    version(!Python_3_3_Or_Later && Python_Unicode_UCS2)
    extern (C)
    alias PyUnicode_FromWideChar = PyUnicodeUCS2_FromWideChar
  3. alias PyUnicode_FromWideChar = PyUnicodeUCS4_FromWideChar

Meta