]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libsoup-2.4: Use length for SoupMessageBody.data array length.
authorEvan Nemerson <evan@coeus-group.com>
Fri, 6 Aug 2010 04:28:58 +0000 (21:28 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 6 Aug 2010 04:35:37 +0000 (21:35 -0700)
vapi/libsoup-2.4.vapi
vapi/packages/libsoup-2.4/libsoup-2.4.metadata

index 230dc8a4e6ae80d2e6d1afd534bfca360b56dc94..e7aa0058fb54ae2bb857053cc0965c9e5b9ef880 100644 (file)
@@ -286,7 +286,7 @@ namespace Soup {
        [Compact]
        [CCode (type_id = "SOUP_TYPE_MESSAGE_BODY", cheader_filename = "libsoup/soup.h")]
        public class MessageBody {
-               [CCode (array_length = false)]
+               [CCode (array_length_cname = "length", array_length_type = "gint64")]
                public weak uint8[] data;
                public int64 length;
                [CCode (has_construct_function = false)]
index d1313500fbbf22ed0eb3d3e651efcccbe2ec8dbc..e6bcf894ca0b159cc20754eb8e02ab47e68f77c2 100644 (file)
@@ -71,7 +71,7 @@ soup_message_headers_get_content_disposition.params is_out="1" transfer_ownershi
 soup_message_headers_get_content_type.params is_out="1" transfer_ownership="1" nullable="1" type_arguments="string,string"
 soup_message_set_chunk_allocator.allocator transfer_ownership="1"
 soup_message_set_chunk_allocator.destroy_notify hidden="1"
-SoupMessageBody.data type_name="uint8" is_array="1"
+SoupMessageBody.data type_name="uint8" is_array="1" array_length_cname="length" array_length_type="gint64"
 soup_message_headers_set_content_disposition.params type_arguments="string,string" nullable="1"
 soup_message_headers_set_content_type.params type_arguments="string,string" nullable="1"
 soup_server_new ellipsis="1"