GNOME Bugzilla – Bug 745608
Support the C99 'bool' type
Last modified: 2015-03-04 15:39:05 UTC
Took me a little bit to figure this out, with the scanner failing in the arguments of the function, instead of failing with the return type. Anyway, since we support `_Bool`, `true`, and `false`, as well as the C99 stdint sized integer types, we may as well support the C99 stdbool `bool` type. This makes a bunch of Graphene API suddenly appear in the GIR.
Created attachment 298541 [details] [review] scanner: Support the C99 'bool' type Otherwise API using it will badly break in weird ways.
Review of attachment 298541 [details] [review]: Could use a test case, although that might involve some build-time conditionals to detect C99 or something. But looks reasonable to me.
Attachment 298541 [details] pushed as 62c634a - scanner: Support the C99 'bool' type