PyUnicodeUCS2_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* PyUnicodeUCS2_FromWideChar(const(wchar)* w, Py_ssize_t size)
    version(!Python_3_3_Or_Later && Python_Unicode_UCS2)
    extern (C)
    PyUnicodeUCS2_FromWideChar
    (
    const(wchar)* w
    ,)
  2. alias PyUnicode_FromWideChar = PyUnicodeUCS2_FromWideChar

Meta