diff options
Diffstat (limited to 'Doc/ext')
-rw-r--r-- | Doc/ext/extending.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/ext/extending.tex b/Doc/ext/extending.tex index d3661ab..87d3736 100644 --- a/Doc/ext/extending.tex +++ b/Doc/ext/extending.tex @@ -743,6 +743,11 @@ Convert a Python integer to a plain C \ctype{int}. \item[\samp{l} (integer) {[long int]}] Convert a Python integer to a C \ctype{long int}. +\item[\samp{L} (integer) {[LONG_LONG]}] +Convert a Python integer to a C \ctype{long long}. This format is only +available on platforms that support \ctype{long long} (or \ctype{_int64} +on Windows). + \item[\samp{c} (string of length 1) {[char]}] Convert a Python character, represented as a string of length 1, to a C \ctype{char}. |