]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: return value of g_inet_address_to_bytes is an array
authorEvan Nemerson <evan@coeus-group.com>
Sun, 6 Jun 2010 08:05:53 +0000 (01:05 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sun, 6 Jun 2010 08:05:53 +0000 (01:05 -0700)
vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index a20154410420dbce7b77294008b0790b36ae1783..576d5d047c2da60a3e7a1a4f1debfe46b11951d5 100644 (file)
@@ -439,7 +439,8 @@ namespace GLib {
                public size_t get_native_size ();
                [CCode (has_construct_function = false)]
                public InetAddress.loopback (GLib.SocketFamily family);
-               public virtual uchar to_bytes ();
+               [CCode (array_length = false)]
+               public virtual unowned uint8[] to_bytes ();
                public virtual string to_string ();
                [NoAccessorMethod]
                public void* bytes { get; construct; }
index 31b122134d1de019a91840fc7c5e66f64558f953..9ed848399bb128c9c8cc9cd0a189afd7c82847a3 100644 (file)
@@ -92,6 +92,7 @@ g_file_stop_mountable async="1"
 g_file_unmount_mountable async="1"
 g_file_unmount_mountable_with_operation async="1"
 g_inet_address_to_string transfer_ownership="1"
+g_inet_address_to_bytes type_name="uint8" is_array="1" no_array_length="1"
 g_input_stream_read_all.bytes_read is_out="1"
 GIOErrorEnum rename_to="IOError" errordomain="1"
 g_io_extension_point_get_extensions type_arguments="IOExtension"