summaryrefslogtreecommitdiff
path: root/json-glib/json-types-private.h
diff options
context:
space:
mode:
authorGarrett Regier <garrettregier@gmail.com>2016-10-20 19:44:09 -0700
committerGarrett Regier <garrettregier@gmail.com>2017-06-16 17:16:32 -0700
commitd78ad648942637fb9212d1d93670509d4c7f687b (patch)
treee1e2fe26f63d2d12446fee7aa291f1363e84ec6d /json-glib/json-types-private.h
parent7b3c405df41c0b6f6fe58fdb05c922614f08c4c4 (diff)
downloadjson-glib-d78ad648942637fb9212d1d93670509d4c7f687b.tar.gz
core: Avoid json_object_get_members()
Use JsonObject's private members_ordered GQueue instead. This avoids a g_list_copy(). https://bugzilla.gnome.org/show_bug.cgi?id=773504
Diffstat (limited to 'json-glib/json-types-private.h')
-rw-r--r--json-glib/json-types-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/json-glib/json-types-private.h b/json-glib/json-types-private.h
index fc7646b..bc29e80 100644
--- a/json-glib/json-types-private.h
+++ b/json-glib/json-types-private.h
@@ -124,6 +124,9 @@ G_GNUC_INTERNAL
const gchar * json_value_type_get_name (JsonValueType value_type);
G_GNUC_INTERNAL
+GQueue * json_object_get_members_internal (JsonObject *object);
+
+G_GNUC_INTERNAL
GType json_value_type (const JsonValue *value);
G_GNUC_INTERNAL