diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-12-21 12:32:34 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-12-21 12:44:29 +0100 |
commit | 6d17dd7c29fd4e25e8f6b78cef915e67db6826fd (patch) | |
tree | 715c4e5f438292ba33901f0f9fb14ebc63f91de2 /giscanner/introspectablepass.py | |
parent | 287dbe9a066479a695769f96f8eea7af01b911aa (diff) | |
download | gobject-introspection-6d17dd7c29fd4e25e8f6b78cef915e67db6826fd.tar.gz |
scanner: make using bool without stdbool include work again. Fixes #247
With !45 special casing of bool in the lexer was removed which previously allowed the usage of
bool without including stdbool.h. This breaks scanning of graphene headers
which guarded the stdbool include with __GI_SCANNER__ (I haven't figured out why).
Add back the special handling for bool in the lexer and also map it to gboolean like
_Bool as if stdbool.h was included.
Diffstat (limited to 'giscanner/introspectablepass.py')
0 files changed, 0 insertions, 0 deletions