Skip to content

gir: Filter unmarked private fields

Libraries sometimes forget to mark their fields as private. These fields are usually:

  • The first field
  • The parent type of the class
  • Named priv.

We previously didn't account for these cases, causing fields to be exposed that shouldn't be. This commit filters those fields out.

Merge request reports