PyUnicode_AsUnicodeCopy

Create a copy of a unicode string ending with a nul character. Return NULL and raise a MemoryError exception on memory allocation failure, otherwise Availability: >= 3.2 return a new allocated buffer (use PyMem_Free() to free the buffer).

version(Python_3_0_Or_Later && Python_3_2_Or_Later)
extern (C)
PyUnicode_AsUnicodeCopy

Meta