Skip to content

Add g_try(), g_try_propagate() and g_try_propagate_val()

Adrien Plazas requested to merge aplazas/glib:try-catch into master

This adds try-catch like macros which allows to simplify and harden error handling by handling transparently the GError receiving the error.

For an example of how it simplifies code, see retro-gtk!126 (diffs).

Merge request reports