Closed Megadash452 closed 1 year ago
I think the problem has to do with these being constants, but somewhere they are being seen as GObject types. In src/config/gobjects.rs::resolve_type_ids
, the objects arg contains these constants, which then this function tries to find a Gobject type with this name (i think this is what this part does: library.find_type(0, name);
), but it returns none because there is no type with those names since those are constants.
When trying to ignore some symbols, the gir program will falsely flag those symbols as "missing from the library".
For example, in my case i have this ignore in my
Gir.toml
:and running gir with this gives the following output:
but when I build and test, those constants are not present in
test/abi.rs
, so the ignore was successful.@bilelmoussaoui suggested i open this issue to get this fixed.