diff options
author | Fred Drake <fdrake@acm.org> | 2002-03-28 23:46:41 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-03-28 23:46:41 (GMT) |
commit | b1af6376e920e37a2e5abed422855d391c445bae (patch) | |
tree | 707a20d5f8eed0fee5e3968f981a8b4ad1a09398 | |
parent | 0f9a34da2cdc597f64556bdaab4c63d77ac359e9 (diff) | |
download | cpython-b1af6376e920e37a2e5abed422855d391c445bae.zip cpython-b1af6376e920e37a2e5abed422855d391c445bae.tar.gz cpython-b1af6376e920e37a2e5abed422855d391c445bae.tar.bz2 |
Mark a couple of types that had not been marked.
-rw-r--r-- | Doc/ext/extending.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/ext/extending.tex b/Doc/ext/extending.tex index 783137a..bf63025 100644 --- a/Doc/ext/extending.tex +++ b/Doc/ext/extending.tex @@ -663,16 +663,16 @@ This is to \samp{s\#} as \samp{z} is to \samp{s}. \item[\samp{u} (Unicode object) {[Py_UNICODE *]}] Convert a Python Unicode object to a C pointer to a null-terminated -buffer of 16-bit Unicode (UTF-16) data. As with \samp{s}, there is no need -to provide storage for the Unicode data buffer; a pointer to the -existing Unicode data is stored into the Py_UNICODE pointer variable whose -address you pass. +buffer of 16-bit Unicode (UTF-16) data. As with \samp{s}, there is no +need to provide storage for the Unicode data buffer; a pointer to the +existing Unicode data is stored into the \ctype{Py_UNICODE} pointer +variable whose address you pass. \item[\samp{u\#} (Unicode object) {[Py_UNICODE *, int]}] This variant on \samp{u} stores into two C variables, the first one a pointer to a Unicode data buffer, the second one its length. Non-Unicode objects are handled by interpreting their read buffer -pointer as pointer to a Py_UNICODE array. +pointer as pointer to a \ctype{Py_UNICODE} array. \item[\samp{es} (string, Unicode object or character buffer compatible object) {[const char *encoding, char **buffer]}] |