Skip to content

glib-backports: Provide G_SOURCE_FUNC

Simon McVittie requested to merge wip/smcv/gsourcefunc into main

This avoids gcc warnings by making use of the fact that gcc allows casts of any function pointer to/from a function with no result and no arguments, which both gcc and GLib use as a stand-in for a function with unspecified result and unspecified arguments.

Helps: #88 (closed)

Merge request reports