summaryrefslogtreecommitdiffstats
path: root/Doc/api/api.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-16 21:04:15 (GMT)
committerFred Drake <fdrake@acm.org>2000-06-16 21:04:15 (GMT)
commit992fe5a83ed00c2f78cafe6bd397455a959508f6 (patch)
treeb1b6e6b240d91e058bff9d4f290c482c60efe29a /Doc/api/api.tex
parent1c2d06acaf62cf5cd255d06e1859021f42285fa5 (diff)
downloadcpython-992fe5a83ed00c2f78cafe6bd397455a959508f6.zip
cpython-992fe5a83ed00c2f78cafe6bd397455a959508f6.tar.gz
cpython-992fe5a83ed00c2f78cafe6bd397455a959508f6.tar.bz2
Updates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support.
Diffstat (limited to 'Doc/api/api.tex')
-rw-r--r--Doc/api/api.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex
index 0c3cf1f..04ddb00 100644
--- a/Doc/api/api.tex
+++ b/Doc/api/api.tex
@@ -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}