[Python-checkins] r54357 - in python/trunk: Doc/lib/libctypes.tex Lib/ctypes/__init__.py Lib/ctypes/test/test_numbers.py Lib/ctypes/test/test_repr.py Misc/NEWS Modules/_ctypes/_ctypes.c Modules/_ctypes/cfield.c Modules/_ctypes/libffi/configure Modules/_ctypes/libffi/configure.ac Modules/_ctypes/libffi/fficonfig.h.in

Thomas Heller theller at ctypes.org
Tue Mar 13 21:56:40 CET 2007


Georg Brandl schrieb:
> thomas.heller schrieb:
>> Author: thomas.heller
>> Date: Tue Mar 13 21:42:52 2007
>> New Revision: 54357
>> 
>> Modified:
>>    python/trunk/Doc/lib/libctypes.tex
>>    python/trunk/Lib/ctypes/__init__.py
>>    python/trunk/Lib/ctypes/test/test_numbers.py
>>    python/trunk/Lib/ctypes/test/test_repr.py
>>    python/trunk/Misc/NEWS
>>    python/trunk/Modules/_ctypes/_ctypes.c
>>    python/trunk/Modules/_ctypes/cfield.c
>>    python/trunk/Modules/_ctypes/libffi/configure
>>    python/trunk/Modules/_ctypes/libffi/configure.ac
>>    python/trunk/Modules/_ctypes/libffi/fficonfig.h.in
>> Log:
>> Patch #1649190: Adding support for _Bool to ctypes as c_bool, by David Remahl.
>> 
>> Modified: python/trunk/Doc/lib/libctypes.tex
>> ==============================================================================
>> --- python/trunk/Doc/lib/libctypes.tex	(original)
>> +++ python/trunk/Doc/lib/libctypes.tex	Tue Mar 13 21:42:52 2007
>> @@ -2294,6 +2294,12 @@
>>  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*}
> 
> I think this needs a \versionadded{2.6} tag.
> 
> Georg
Ah, of course.  Thanks.

Thomas



More information about the Python-checkins mailing list