scanner: Re-evaluate the usage of disguised
Submitted by Simon Feltman
Link to original bug (#721481)
Description
When working on bug 581525, there was some question as to whether the usage of the "disguised" attribute on structs is correct. Colin mentioned it might be intended only for typedef struct pointers as in:
typedef struct _Foo* FooPtr;
However, it seems to have taken on the meaning of "private" and is set when any typedef struct is parsed which doesn't also include a full struct with fields:
typedef struct _Foo Foo;
(with no regular struct _Foo defined later)
Changing this now will generate extra mallard pages and also the attribute will be removed from a lot of structs in various GIRs. So a deeper evaluation is needed.