add nullary version of g_try_invoke macro

This commit is contained in:
mjk 2021-03-20 00:05:55 +00:00 committed by LAGonauta
parent da424fb73b
commit b1cb64d716

View file

@ -133,5 +133,6 @@ catch (...)
#define g_try_invoke(invokable, ...) glib::try_invoke(#invokable, invokable, __VA_ARGS__) #define g_try_invoke(invokable, ...) glib::try_invoke(#invokable, invokable, __VA_ARGS__)
#define g_try_invoke0(invokable) glib::try_invoke(#invokable, invokable)
#endif #endif