add nullary version of g_try_invoke macro
This commit is contained in:
parent
da424fb73b
commit
b1cb64d716
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue