mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
gibaseinfo: Add initialiser macro for GIAttributeIter
Makes it a little easier to use. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
@@ -426,7 +426,7 @@ const char *
|
||||
gi_callable_info_get_return_attribute (GICallableInfo *info,
|
||||
const char *name)
|
||||
{
|
||||
GIAttributeIter iter = { 0, };
|
||||
GIAttributeIter iter = GI_ATTRIBUTE_ITER_INIT;
|
||||
const char *curname, *curvalue;
|
||||
while (gi_callable_info_iterate_return_attributes (info, &iter, &curname, &curvalue))
|
||||
{
|
||||
|
Reference in New Issue
Block a user