return FALSE;
}
-static const gchar *
-get_id_from_node (JsonNode *node)
+const gchar *
+_clutter_script_get_id_from_node (JsonNode *node)
{
JsonObject *object;
JsonNode *child = json_array_get_element (array, i);
const gchar *id;
- id = get_id_from_node (child);
+ id = _clutter_script_get_id_from_node (child);
if (id)
retval = g_list_prepend (retval, g_strdup (id));
}
JsonNode *child = json_array_get_element (array, i);
const gchar *id;
- id = get_id_from_node (child);
+ id = _clutter_script_get_id_from_node (child);
if (id)
retval = g_list_prepend (retval, g_strdup (id));
}
* definitions are parsed leaf-first we are guaranteed
* to have a defined object at this point
*/
- id = get_id_from_node (node);
+ id = _clutter_script_get_id_from_node (node);
if (id == NULL || *id == '\0')
return FALSE;
void _clutter_script_add_object_info (ClutterScript *script,
ObjectInfo *oinfo);
+const gchar *_clutter_script_get_id_from_node (JsonNode *node);
+
G_END_DECLS
#endif /* __CLUTTER_SCRIPT_PRIVATE_H__ */