diff options
author | Thomas Heller <theller@ctypes.org> | 2007-03-13 20:42:52 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-03-13 20:42:52 (GMT) |
commit | 5dc4fe09b7648f9801558e766b21a3d3b2dcad3b (patch) | |
tree | a0c5d0244b62c50a29e235a855b5cdb8551963e7 /Doc/lib | |
parent | 8441f15626998df7881f49223948b7e6fef18c08 (diff) | |
download | cpython-5dc4fe09b7648f9801558e766b21a3d3b2dcad3b.zip cpython-5dc4fe09b7648f9801558e766b21a3d3b2dcad3b.tar.gz cpython-5dc4fe09b7648f9801558e766b21a3d3b2dcad3b.tar.bz2 |
Patch #1649190: Adding support for _Bool to ctypes as c_bool, by David Remahl.
Diffstat (limited to 'Doc/lib')
-rwxr-xr-x | Doc/lib/libctypes.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libctypes.tex b/Doc/lib/libctypes.tex index 184875f..e1a1719 100755 --- a/Doc/lib/libctypes.tex +++ b/Doc/lib/libctypes.tex @@ -2294,6 +2294,12 @@ a zero-terminated wide character string. The constructor accepts an integer address, or a string. \end{classdesc*} +\begin{classdesc*}{c_bool} +Represent the C \code{bool} datatype (more accurately, _Bool from C99). +Its value can be True or False, and the constructor accepts any object that +has a truth value. +\end{classdesc*} + \begin{classdesc*}{HRESULT} Windows only: Represents a \class{HRESULT} value, which contains success or error information for a function or method call. |