From: Stefan Behnel Date: Thu, 22 Apr 2010 11:03:14 +0000 (+0200) Subject: added PyUnicode_FromOrdinal() to unicode.pxd X-Git-Tag: 0.13.beta0~161 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0ae71862f76371264b2a82ffbcb7b41ce39332e;p=cython.git added PyUnicode_FromOrdinal() to unicode.pxd --- diff --git a/Cython/Includes/cpython/unicode.pxd b/Cython/Includes/cpython/unicode.pxd index debb37ef..d2436790 100644 --- a/Cython/Includes/cpython/unicode.pxd +++ b/Cython/Includes/cpython/unicode.pxd @@ -94,7 +94,7 @@ cdef extern from *: # The ordinal must be in range(0x10000) on narrow Python builds # (UCS2), and range(0x110000) on wide builds (UCS4). A ValueError # is raised in case it is not. - PyObject* PyUnicode_FromOrdinal(int ordinal) + object PyUnicode_FromOrdinal(int ordinal) # Return a read-only pointer to the Unicode object's internal # Py_UNICODE buffer, NULL if unicode is not a Unicode object.