numpy  2.0.0
src/multiarray/ucsnarrow.h
Go to the documentation of this file.
00001 #ifndef _NPY_UCSNARROW_H_
00002 #define _NPY_UCSNARROW_H_
00003 
00004 NPY_NO_EXPORT int
00005 PyUCS2Buffer_FromUCS4(Py_UNICODE *ucs2, npy_ucs4 *ucs4, int ucs4length);
00006 
00007 NPY_NO_EXPORT int
00008 PyUCS2Buffer_AsUCS4(Py_UNICODE *ucs2, npy_ucs4 *ucs4, int ucs2len, int ucs4len);
00009 
00010 NPY_NO_EXPORT PyUnicodeObject *
00011 PyUnicode_FromUCS4(char *src, Py_ssize_t size, int swap, int align);
00012 
00013 #endif