Skip to content

GAsyncQueue: Add copy-func and free-func annotations

Marcel Tiede requested to merge badcel/glib:async_queue_copy_free_func into main

GAsyncQueue is an opaque struct which supports some memory management through g_async_queue_ref and g_async_queue_unref. As those functions are currently not annotated language bindings have to use heuristics or implement the memory management manually. This MR uses the copy-func and free-func annotations to give language bindings some hints how to copy / free an instance of this struct.

Merge request reports

Loading