Handle C++ bool type just like C _Bool