[vala] gio-2.0: return value of g_inet_address_to_bytes is an array
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: return value of g_inet_address_to_bytes is an array
- Date: Sun, 6 Jun 2010 08:07:28 +0000 (UTC)
commit 8d5e90063e4adc55091d0c20cd41adc536cf438d
Author: Evan Nemerson <evan coeus-group com>
Date: Sun Jun 6 01:05:53 2010 -0700
gio-2.0: return value of g_inet_address_to_bytes is an array
vapi/gio-2.0.vapi | 3 ++-
vapi/packages/gio-2.0/gio-2.0.metadata | 1 +
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index a201544..576d5d0 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -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; }
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 31b1221..9ed8483 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]