Details
Description
I am using Shiboken to create Python bindings for a third-party library, and it is a really nice tool - great job in creating it!
However, I have stumbled upon a couple small problems: Shiboken (APIExtractor?) seems to not be able to handle alternative definitions of structs/enums using the "typedef" keyword.
A) Infinite loop
If a struct is defined as follows
typedef struct A {
...
} A;
shiboken seems to go into an infinite loop, with the last status message being "Detecting inconsistencies in class model...".
Note that if I remove the "typedef", this problem does not occur.
B) Non-detected definitions
If an enum is defined as follows
typedef enum
{ ... }B;
it is not detected and not added to the enum model.