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

Skip to content

Commit b1af637

Browse files
committed
Mark a couple of types that had not been marked.
1 parent 0f9a34d commit b1af637

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/ext/extending.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -663,16 +663,16 @@ \section{Extracting Parameters in Extension Functions
663663

664664
\item[\samp{u} (Unicode object) {[Py_UNICODE *]}]
665665
Convert a Python Unicode object to a C pointer to a null-terminated
666-
buffer of 16-bit Unicode (UTF-16) data. As with \samp{s}, there is no need
667-
to provide storage for the Unicode data buffer; a pointer to the
668-
existing Unicode data is stored into the Py_UNICODE pointer variable whose
669-
address you pass.
666+
buffer of 16-bit Unicode (UTF-16) data. As with \samp{s}, there is no
667+
need to provide storage for the Unicode data buffer; a pointer to the
668+
existing Unicode data is stored into the \ctype{Py_UNICODE} pointer
669+
variable whose address you pass.
670670

671671
\item[\samp{u\#} (Unicode object) {[Py_UNICODE *, int]}]
672672
This variant on \samp{u} stores into two C variables, the first one
673673
a pointer to a Unicode data buffer, the second one its length.
674674
Non-Unicode objects are handled by interpreting their read buffer
675-
pointer as pointer to a Py_UNICODE array.
675+
pointer as pointer to a \ctype{Py_UNICODE} array.
676676

677677
\item[\samp{es} (string, Unicode object or character buffer compatible
678678
object) {[const char *encoding, char **buffer]}]

0 commit comments

Comments
 (0)