[vala] json-glib-1.0: Make json_parser_load_from_data.length default to -1
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] json-glib-1.0: Make json_parser_load_from_data.length default to -1
- Date: Sun, 14 Mar 2010 20:57:21 +0000 (UTC)
commit c80b498367e99bae4ad7638e37874d5f58f7ea05
Author: Evan Nemerson <evan coeus-group com>
Date: Sun Mar 14 13:41:29 2010 -0700
json-glib-1.0: Make json_parser_load_from_data.length default to -1
Fixes bug 612601.
vapi/json-glib-1.0.vapi | 2 +-
vapi/packages/json-glib-1.0/json-glib-1.0.metadata | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi
index 5bedfaa..f5195cb 100644
--- a/vapi/json-glib-1.0.vapi
+++ b/vapi/json-glib-1.0.vapi
@@ -117,7 +117,7 @@ namespace Json {
public uint get_current_pos ();
public unowned Json.Node get_root ();
public bool has_assignment (out unowned string variable_name);
- public bool load_from_data (string data, ssize_t length) throws GLib.Error;
+ public bool load_from_data (string data, ssize_t length = -1) throws GLib.Error;
public bool load_from_file (string filename) throws GLib.Error;
public virtual signal void array_element (Json.Array array, int index_);
public virtual signal void array_end (Json.Array array);
diff --git a/vapi/packages/json-glib-1.0/json-glib-1.0.metadata b/vapi/packages/json-glib-1.0/json-glib-1.0.metadata
index 5feb0d7..ed1a81c 100644
--- a/vapi/packages/json-glib-1.0/json-glib-1.0.metadata
+++ b/vapi/packages/json-glib-1.0/json-glib-1.0.metadata
@@ -26,4 +26,4 @@ json_object_get_values type_arguments="unowned Node" transfer_ownership="1"
json_object_add_member.node transfer_ownership="1"
json_object_set_array_member.value transfer_ownership="1"
json_object_set_object_member.value transfer_ownership="1"
-
+json_parser_load_from_data.length default_value="-1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]