[vala] libsoup-2.4: Use uint8[] in Message.set_{request,response}
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] libsoup-2.4: Use uint8[] in Message.set_{request,response}
- Date: Thu, 19 Aug 2010 22:55:58 +0000 (UTC)
commit fa11308ba71a6cec9e1ee423612b45a012ace647
Author: Evan Nemerson <evan coeus-group com>
Date: Thu Aug 5 13:44:54 2010 -0700
libsoup-2.4: Use uint8[] in Message.set_{request,response}
vapi/libsoup-2.4.vapi | 4 ++--
vapi/packages/libsoup-2.4/libsoup-2.4.metadata | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index e7aa005..91f53a7 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -241,8 +241,8 @@ namespace Soup {
public void set_first_party (...);
public void set_flags (Soup.MessageFlags flags);
public void set_http_version (Soup.HTTPVersion version);
- public void set_request (string content_type, Soup.MemoryUse req_use, string req_body, size_t req_length);
- public void set_response (string content_type, Soup.MemoryUse resp_use, string resp_body, size_t resp_length);
+ public void set_request (string content_type, Soup.MemoryUse req_use, [CCode (type = "char**", array_length_type = "gsize")] uint8[] req_body);
+ public void set_response (string content_type, Soup.MemoryUse resp_use, [CCode (type = "char**", array_length_type = "gsize")] uint8[] resp_body);
public void set_status (uint status_code);
public void set_status_full (uint status_code, string reason_phrase);
public void set_uri (Soup.URI uri);
diff --git a/vapi/packages/libsoup-2.4/libsoup-2.4.metadata b/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
index e6bcf89..c16d0ab 100644
--- a/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
+++ b/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
@@ -64,7 +64,11 @@ SoupMessage::wrote_headers has_emitter="1"
SoupMessage::wrote_informational has_emitter="1"
soup_message_body_flatten transfer_ownership="1"
soup_cookies_from_request type_arguments="Cookie" transfer_ownership="1"
+soup_message_set_request.req_body type_name="uint8" ctype="char**" is_array="1" array_length_type="gsize"
+soup_message_set_request.req_length hidden="1"
soup_cookies_from_response type_arguments="Cookie" transfer_ownership="1"
+soup_message_set_response.resp_body type_name="uint8" ctype="char**" is_array="1" array_length_type="gsize"
+soup_message_set_response.resp_length hidden="1"
soup_header_parse_semi_param_list type_arguments="string,string" transfer_ownership="1"
soup_message_headers_get_content_disposition.disposition transfer_ownership="1"
soup_message_headers_get_content_disposition.params is_out="1" transfer_ownership="1" nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]