From 179fe250d6be400566c79e1d83bb45c07e975183 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 24 Aug 2020 12:42:21 +0100 Subject: Document the iteration order for foreach_member() The iteration order is the insertion order, and has been for a long time. --- json-glib/json-object.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'json-glib/json-object.c') diff --git a/json-glib/json-object.c b/json-glib/json-object.c index c67b687..a17fd6d 100644 --- a/json-glib/json-object.c +++ b/json-glib/json-object.c @@ -957,6 +957,9 @@ json_object_remove_member (JsonObject *object, * from within the iterator @func, but it is not safe to add or * remove members from the @object. * + * The order in which the @object members are iterated is the + * insertion order. + * * Since: 0.8 */ void -- cgit v1.2.1