Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Missing (scope) annotation for callback without GDestroyNotify #715

Open
milahu opened this issue Feb 2, 2023 · 0 comments
Open

Comments

@milahu
Copy link
Contributor

milahu commented Feb 2, 2023

just warnings ...

GUM_API GumInvocationListener * gum_make_call_listener (
GumInvocationCallback on_enter, GumInvocationCallback on_leave,
gpointer data, GDestroyNotify data_destroy);

[93/181] Generating gum/Gum-1.0.gir with a custom command (wrapped by meson to set env)

../gum/guminvocationlistener.h:49: Warning: Gum: gum_make_call_listener: argument on_enter: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/guminvocationlistener.h:49: Warning: Gum: gum_make_call_listener: return value: Missing (transfer) annotation
../gum/guminvocationlistener.h:52: Warning: Gum: gum_make_probe_listener: return value: Missing (transfer) annotation

../gum/gumsymbolutil.h:33: Warning: Gum: gum_find_functions_named: return value: Missing (element-type) annotation
../gum/gumsymbolutil.h:34: Warning: Gum: gum_find_functions_matching: return value: Missing (element-type) annotation

../gum/gumdarwinmodule.h:394: Warning: Gum: gum_darwin_module_enumerate_imports: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:394: Warning: Gum: gum_darwin_module_enumerate_imports: argument resolver: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:396: Warning: Gum: gum_darwin_module_enumerate_exports: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:398: Warning: Gum: gum_darwin_module_enumerate_symbols: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:403: Warning: Gum: gum_darwin_module_enumerate_sections: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:407: Warning: Gum: gum_darwin_module_enumerate_chained_fixups: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:409: Warning: Gum: gum_darwin_module_enumerate_rebases: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:411: Warning: Gum: gum_darwin_module_enumerate_binds: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:413: Warning: Gum: gum_darwin_module_enumerate_lazy_binds: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:415: Warning: Gum: gum_darwin_module_enumerate_init_pointers: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:417: Warning: Gum: gum_darwin_module_enumerate_init_offsets: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:419: Warning: Gum: gum_darwin_module_enumerate_term_pointers: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:421: Warning: Gum: gum_darwin_module_enumerate_dependencies: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumdarwinmodule.h:423: Warning: Gum: gum_darwin_module_enumerate_function_starts: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)

../gum/gumexceptor.h:95: Warning: Gum: gum_exceptor_add: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumexceptor.h:97: Warning: Gum: gum_exceptor_remove: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/gumexceptor.h:91: Warning: Gum: gum_exceptor_obtain: return value: Missing (transfer) annotation

../gum/guminterceptor.h:41: Warning: Gum: gum_interceptor_obtain: return value: Missing (transfer) annotation
../gum/guminterceptor.h:62: Warning: Gum: gum_interceptor_get_current_invocation: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
../gum/guminterceptor.h:63: Warning: Gum: gum_interceptor_get_current_stack: return value: Missing (transfer) annotation

../gum/gummodulemap.h:29: Warning: Gum: gum_module_map_get_values: return value: Missing (element-type) annotation

../gum/backend-elf/gumelfmodule.h:270: Warning: Gum: gum_elf_module_enumerate_dependencies: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/backend-elf/gumelfmodule.h:272: Warning: Gum: gum_elf_module_enumerate_imports: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/backend-elf/gumelfmodule.h:274: Warning: Gum: gum_elf_module_enumerate_exports: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/backend-elf/gumelfmodule.h:276: Warning: Gum: gum_elf_module_enumerate_dynamic_symbols: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/backend-elf/gumelfmodule.h:278: Warning: Gum: gum_elf_module_enumerate_symbols: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/backend-elf/gumelfmodule.h:280: Warning: Gum: gum_elf_module_enumerate_dynamic_entries: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
../gum/backend-elf/gumelfmodule.h:282: Warning: Gum: gum_elf_module_enumerate_sections: argument func: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async, forever)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant