mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Updates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support.
This commit is contained in:
parent
1c2d06acaf
commit
992fe5a83e
2 changed files with 273 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue