Skip to content

scanner: Remove incorrect c:type from fields with array type

Ghost User requested to merge (removed):array-fields-ctype into master

C type used from fields with array type is never correct, nor is it generated in any consistent way. It might be gpointer even when arrays doesn't contain pointers of any kind, or an element type, or an element type after dereferencing.

Remove C type from array fields completely instead of generating incorrect one.

This change has no effect on typelibs since girparser.c does not read c:type attribute for array elements.

Fixes issue #141 (closed) and #145 (closed).

Merge request reports