[vala/staging] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] vapi: Update GIR-based bindings
- Date: Sat, 29 Aug 2020 18:51:07 +0000 (UTC)
commit e451fd7d38c0d93fd209782ed7ac07222d2e2418
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Aug 29 20:37:57 2020 +0200
vapi: Update GIR-based bindings
vapi/json-glib-1.0.vapi | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi
index 7c909d124..b19acb665 100644
--- a/vapi/json-glib-1.0.vapi
+++ b/vapi/json-glib-1.0.vapi
@@ -340,7 +340,11 @@ namespace Json {
[Version (since = "1.2")]
public struct ObjectIter {
public void init (Json.Object object);
+ [Version (since = "1.6")]
+ public void init_ordered (Json.Object object);
public bool next (out unowned string member_name, out unowned Json.Node member_node);
+ [Version (since = "1.6")]
+ public bool next_ordered (out unowned string member_name, out unowned Json.Node member_node);
}
[CCode (cheader_filename = "json-glib/json-glib.h", cprefix = "JSON_NODE_", type_id =
"json_node_type_get_type ()")]
public enum NodeType {
@@ -424,7 +428,7 @@ namespace Json {
public static GLib.Object construct_gobject (GLib.Type gtype, string data, size_t length) throws
GLib.Error;
[CCode (cheader_filename = "json-glib/json-glib.h")]
[Version (since = "1.2")]
- public static Json.Node from_string (string str) throws GLib.Error;
+ public static Json.Node? from_string (string str) throws GLib.Error;
[CCode (cheader_filename = "json-glib/json-glib.h")]
[Version (since = "0.10")]
public static GLib.Object gobject_deserialize (GLib.Type gtype, Json.Node node);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]