[Python-Dev] Adding C99 bool to struct module

Thomas Heller theller at ctypes.org
Thu Dec 7 21:11:58 CET 2006


Martin v. Löwis schrieb:
> #1610575 suggests to introduce the 't' code to support the _Bool
> type where available, and uses char if it isn't available.
> 
> Any objections to adding it?

Not from me, although the patch should probably be extended to add a ctypes.c99_bool
(or how it would be named) type - see also the comments that I posted to
the tracker.

Thomas



More information about the Python-Dev mailing list