Git commit 820bfc8a0a96459d3085f1509116e4d3d309af24 by Shaheed Haque. Committed on 31/03/2016 at 21:28. Pushed by shaheed into branch 'srhaque-new-sip-generator'. Support CursorKind.USING_DECLARATION. M +2 -1 sip_generation/generator.py http://commits.kde.org/pykde5/820bfc8a0a96459d3085f1509116e4d3d309af24 diff --git a/sip_generation/generator.py b/sip_generation/generator.py index 95116ea..3f91f36 100755 --- a/sip_generation/generator.py +++ b/sip_generation/generator.py @@ -246,11 +246,12 @@ class Generator(object): elif member.kind in [CursorKind.NAMESPACE, CursorKind.CLASS_DE= CL, CursorKind.CLASS_TEMPLATE, CursorKind.STRUCT_DECL, CursorKind.CLASS_TEMPLATE_PARTIAL_SPECIAL= IZATION]: decl =3D self._container_get(member, level + 1, h_file) - elif member.kind in TEMPLATE_KINDS: + elif member.kind in TEMPLATE_KINDS + [CursorKind.USING_DECLARA= TION]: # # Ignore: # # TEMPLATE_KINDS: Template type parameter. + # CursorKind.USING_DECLARATION: Using? Pah! # pass else: