[vala] libsoup2.4: Fix arguments for MessageHeaders.get_range
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] libsoup2.4: Fix arguments for MessageHeaders.get_range
- Date: Fri, 24 Feb 2012 09:09:40 +0000 (UTC)
commit 519a36cd621533e67e6c43a0a4f814f61fb2bf62
Author: Jens Georg <mail jensge org>
Date: Wed Feb 22 13:44:44 2012 +0200
libsoup2.4: Fix arguments for MessageHeaders.get_range
https://bugzilla.gnome.org/show_bug.cgi?id=670602
vapi/libsoup-2.4.vapi | 2 +-
vapi/metadata/Soup-2.4.metadata | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index fa07d09..d086eca 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -450,7 +450,7 @@ namespace Soup {
public Soup.Expectation get_expectations ();
public unowned string get_list (string name);
public unowned string get_one (string name);
- public bool get_ranges (int64 total_length, out Soup.Range ranges, int length);
+ public bool get_ranges (int64 total_length, [CCode (array_length_cname = "length", array_length_pos = 2.1, type = "SoupRange**")] out Soup.Range[] ranges);
public void remove (string name);
public void replace (string name, string value);
public void set_content_disposition (string disposition, GLib.HashTable<string,string>? @params);
diff --git a/vapi/metadata/Soup-2.4.metadata b/vapi/metadata/Soup-2.4.metadata
index 3b4f9b5..415117f 100644
--- a/vapi/metadata/Soup-2.4.metadata
+++ b/vapi/metadata/Soup-2.4.metadata
@@ -45,7 +45,7 @@ MessageHeaders
.get_content_disposition.* out unowned=false
.get_content_type.* out unowned=false
.get_content_*.params type_arguments="string,string"
- .get_ranges.ranges out
+ .get_ranges.ranges out type="Soup.Range[]" array_length_idx=2
.set_content_disposition.params type_arguments="string,string" nullable
.set_content_type.params type_arguments="string,string" nullable
Multipart.get_part
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]