Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 541703b

Browse files
author
Thomas Heller
committed
Typo: whcar_t should be wchar_t.
Bugfix candidate? Don't know how this is handled in the docs.
1 parent b803f70 commit 541703b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/api/concrete.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -884,16 +884,16 @@ \subsection{Unicode Objects \label{unicodeObjects}}
884884

885885
\begin{cfuncdesc}{PyObject*}{PyUnicode_FromWideChar}{const wchar_t *w,
886886
int size}
887-
Create a Unicode object from the \ctype{whcar_t} buffer \var{w} of
887+
Create a Unicode object from the \ctype{wchar_t} buffer \var{w} of
888888
the given size. Returns \NULL{} on failure.
889889
\end{cfuncdesc}
890890

891891
\begin{cfuncdesc}{int}{PyUnicode_AsWideChar}{PyUnicodeObject *unicode,
892892
wchar_t *w,
893893
int size}
894-
Copies the Unicode object contents into the \ctype{whcar_t} buffer
895-
\var{w}. At most \var{size} \ctype{whcar_t} characters are copied.
896-
Returns the number of \ctype{whcar_t} characters copied or -1 in
894+
Copies the Unicode object contents into the \ctype{wchar_t} buffer
895+
\var{w}. At most \var{size} \ctype{wchar_t} characters are copied.
896+
Returns the number of \ctype{wchar_t} characters copied or -1 in
897897
case of an error.
898898
\end{cfuncdesc}
899899

0 commit comments

Comments
 (0)