numpy 2.0.0
|
00001 #ifndef _NPY_UCSNARROW_H_ 00002 #define _NPY_UCSNARROW_H_ 00003 00004 #ifdef Py_UNICODE_WIDE 00005 #error this should not be included if Py_UNICODE_WIDE is defined 00006 int int int; 00007 #endif 00008 00009 NPY_NO_EXPORT int 00010 PyUCS2Buffer_FromUCS4(Py_UNICODE *ucs2, PyArray_UCS4 *ucs4, int ucs4length); 00011 00012 NPY_NO_EXPORT int 00013 PyUCS2Buffer_AsUCS4(Py_UNICODE *ucs2, PyArray_UCS4 *ucs4, int ucs2len, int ucs4len); 00014 00015 NPY_NO_EXPORT PyObject * 00016 MyPyUnicode_New(int length); 00017 00018 NPY_NO_EXPORT int 00019 MyPyUnicode_Resize(PyUnicodeObject *uni, int length); 00020 00021 #endif