Require inputs on CFBoolean

Hi,

I have a CFBoolean object and I want to convert it to NSNumber. So, when I
try to use CFBooleanGetValue method to get the value of CFBoolean, it
crashes on Linux.

Please do provide inputs on how to cast CFBoolean object to Bool.
Thank you.

-Nethra