Open uzytkownik opened 3 years ago
Yes this looks like it should be generated. Is there anything useful printed about this when you run gir
?
@sdroege
[WARN libgir::library_postprocessing] Field `NotifierClass::padding` missing c:type assumed to be `fixed_array`
[WARN libgir::config::gobjects] Configured object `Gio.Priority` missing from the library
[ERROR libgir::analysis::record] Missing memory management functions for Tracker.NotifierEvent
[WARN libgir::analysis::functions] get_async: missing success parameters for async future
[WARN libgir::analysis::functions] local_new_async: missing success parameters for async future
[WARN libgir::analysis::functions] query_async: missing success parameters for async future
[WARN libgir::analysis::functions] load_async: missing success parameters for async future
[WARN libgir::analysis::functions] statistics_async: missing success parameters for async future
[WARN libgir::analysis::functions] next_async: missing success parameters for async future
[WARN libgir::analysis::functions] execute_async: missing success parameters for async future
[WARN libgir::analysis::functions] local_new_async: missing success parameters for async future
So this is the problem. Unclear why it needs this, returning a pointer and having NULL
as failure is not exactly uncommon and I thought we handled that?
@GuillaumeGomez you wrote that code IIRC, any reason you see why this would fail here?
Just a note: the tracker API is deprecated apparently.
@GuillaumeGomez - I tried to look for this information but I could not find any (it wasn't mentioned when I reported problems with GIR: https://gitlab.gnome.org/GNOME/tracker/-/issues/262 or on blog post: https://samthursfield.wordpress.com/2020/01/08/last-month-in-tracker/). Tracker 3 (which is unreleased AFAIK) contains spqrl as well. Can you link to announcement?
Sorry if it is more of help request. I'm trying to create bindings for Tracker and it seems not to recognize the callback parameter but I cannot figure out why: