Re: [ctypes-users] which ctypes type corresponds to bool?
Brought to you by:
theller
From: Thomas H. <th...@ct...> - 2008-10-27 18:40:07
|
xiaotianqio schrieb: > Hi,all > I use ctypes to test c++ code, I found there has no ctypes type of bool, which ctypes type should I use? I guess you could write a short C++ program to print out the 'sizeof(bool)', and then use the corresponding ctypes integer type. Thomas |