From 43eb1d3ad3ed535ce5cca50a299d7ef37ccd736b Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Tue, 30 Apr 2002 04:07:57 +0000 Subject: [PATCH] backport theller's patch: Typo: whcar_t should be wchar_t. Bugfix candidate? Don't know how this is handled in the docs. Original patch(es): python/dist/src/Doc/api/concrete.tex:1.15 --- Doc/api/concrete.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 2526621ac075..2f824d547906 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -880,16 +880,16 @@ following functions. Support is optimized if Python's own \begin{cfuncdesc}{PyObject*}{PyUnicode_FromWideChar}{const wchar_t *w, int size} - Create a Unicode object from the \ctype{whcar_t} buffer \var{w} of + Create a Unicode object from the \ctype{wchar_t} buffer \var{w} of the given size. Returns \NULL{} on failure. \end{cfuncdesc} \begin{cfuncdesc}{int}{PyUnicode_AsWideChar}{PyUnicodeObject *unicode, wchar_t *w, int size} - Copies the Unicode object contents into the \ctype{whcar_t} buffer - \var{w}. At most \var{size} \ctype{whcar_t} characters are copied. - Returns the number of \ctype{whcar_t} characters copied or -1 in + Copies the Unicode object contents into the \ctype{wchar_t} buffer + \var{w}. At most \var{size} \ctype{wchar_t} characters are copied. + Returns the number of \ctype{wchar_t} characters copied or -1 in case of an error. \end{cfuncdesc} -- 2.47.3