Updates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support.

This commit is contained in:
Fred Drake 2000-06-16 21:04:15 +00:00
parent 1c2d06acaf
commit 992fe5a83e
2 changed files with 273 additions and 2 deletions

View file

@ -1966,12 +1966,12 @@ Returns the size of the object's internal buffer in bytes. o has to be
a PyUnicodeObject (not checked).
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyUnicode_AS_UNICODE}{PyObject *o}
\begin{cfuncdesc}{Py_UNICODE*}{PyUnicode_AS_UNICODE}{PyObject *o}
Returns a pointer to the internal Py_UNICODE buffer of the object. o
has to be a PyUnicodeObject (not checked).
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyUnicode_AS_DATA}{PyObject *o}
\begin{cfuncdesc}{const char*}{PyUnicode_AS_DATA}{PyObject *o}
Returns a (const char *) pointer to the internal buffer of the object.
o has to be a PyUnicodeObject (not checked).
\end{cfuncdesc}