[vala] gio-2.0: add array_null_terminated annotions in DBus Introspection



commit 98f91834ca185cbf020f2f572805d801ad5441ba
Author: Frederik 'playya' Sdun <Frederik Sdun googlemail com>
Date:   Mon Feb 7 11:38:36 2011 -0800

    gio-2.0: add array_null_terminated annotions in DBus Introspection

 vapi/gio-2.0.vapi                      |   30 +++++++++++++++---------------
 vapi/packages/gio-2.0/gio-2.0.metadata |   30 +++++++++++++++---------------
 2 files changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index ffb000a..c826270 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -217,7 +217,7 @@ namespace GLib {
 	[Compact]
 	[CCode (ref_function = "g_dbus_annotation_info_ref", unref_function = "g_dbus_annotation_info_unref", type_id = "G_TYPE_DBUS_ANNOTATION_INFO", cheader_filename = "gio/gio.h")]
 	public class DBusAnnotationInfo {
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusAnnotationInfo[] annotations;
 		public weak string key;
 		public int ref_count;
@@ -227,7 +227,7 @@ namespace GLib {
 	[Compact]
 	[CCode (ref_function = "g_dbus_arg_info_ref", unref_function = "g_dbus_arg_info_unref", type_id = "G_TYPE_DBUS_ARG_INFO", cheader_filename = "gio/gio.h")]
 	public class DBusArgInfo {
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusAnnotationInfo[] annotations;
 		public weak string name;
 		public int ref_count;
@@ -298,15 +298,15 @@ namespace GLib {
 	[Compact]
 	[CCode (ref_function = "g_dbus_interface_info_ref", unref_function = "g_dbus_interface_info_unref", type_id = "G_TYPE_DBUS_INTERFACE_INFO", cheader_filename = "gio/gio.h")]
 	public class DBusInterfaceInfo {
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusAnnotationInfo[] annotations;
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusMethodInfo[] methods;
 		public weak string name;
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusPropertyInfo[] properties;
 		public int ref_count;
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusSignalInfo[] signals;
 		public void generate_xml (uint indent, GLib.StringBuilder string_builder);
 		public unowned GLib.DBusMethodInfo lookup_method (string name);
@@ -385,12 +385,12 @@ namespace GLib {
 	[Compact]
 	[CCode (ref_function = "g_dbus_method_info_ref", unref_function = "g_dbus_method_info_unref", type_id = "G_TYPE_DBUS_METHOD_INFO", cheader_filename = "gio/gio.h")]
 	public class DBusMethodInfo {
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusAnnotationInfo[] annotations;
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusArgInfo[] in_args;
 		public weak string name;
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusArgInfo[] out_args;
 		public int ref_count;
 	}
@@ -417,11 +417,11 @@ namespace GLib {
 	[Compact]
 	[CCode (ref_function = "g_dbus_node_info_ref", unref_function = "g_dbus_node_info_unref", type_id = "G_TYPE_DBUS_NODE_INFO", cheader_filename = "gio/gio.h")]
 	public class DBusNodeInfo {
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusAnnotationInfo[] annotations;
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusInterfaceInfo[] interfaces;
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusNodeInfo[] nodes;
 		public weak string path;
 		public int ref_count;
@@ -433,7 +433,7 @@ namespace GLib {
 	[Compact]
 	[CCode (ref_function = "g_dbus_property_info_ref", unref_function = "g_dbus_property_info_unref", type_id = "G_TYPE_DBUS_PROPERTY_INFO", cheader_filename = "gio/gio.h")]
 	public class DBusPropertyInfo {
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusAnnotationInfo[] annotations;
 		public GLib.DBusPropertyInfoFlags flags;
 		public weak string name;
@@ -511,9 +511,9 @@ namespace GLib {
 	[Compact]
 	[CCode (ref_function = "g_dbus_signal_info_ref", unref_function = "g_dbus_signal_info_unref", type_id = "G_TYPE_DBUS_SIGNAL_INFO", cheader_filename = "gio/gio.h")]
 	public class DBusSignalInfo {
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusAnnotationInfo[] annotations;
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public weak GLib.DBusArgInfo[] args;
 		public weak string name;
 		public int ref_count;
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index ff5ab55..59cc65e 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -51,9 +51,9 @@ g_data_input_stream_read_upto.length is_out="1"
 g_data_input_stream_read_upto_finish nullable="1" transfer_ownership="1" error_types="IOError"
 g_data_input_stream_read_upto_finish.length nullable="1" transfer_ownership="1" default_value="null" is_out="1"
 g_data_output_stream_put_* error_types="IOError"
-GDBusAnnotationInfo.annotations is_array="1"
+GDBusAnnotationInfo.annotations is_array="1" array_null_terminated="1"
 g_dbus_address_get_stream async="1"
-GDBusArgInfo.annotations is_array="1"
+GDBusArgInfo.annotations is_array="1" array_null_terminated="1"
 g_dbus_connection_add_filter.filter_function transfer_ownership="1"
 g_dbus_connection_add_filter.user_data_free_func hidden="1"
 g_dbus_connection_call async="1"
@@ -82,17 +82,17 @@ g_dbus_connection_signal_subscribe.object_path nullable="1"
 g_dbus_connection_signal_subscribe.arg0 nullable="1"
 g_dbus_connection_signal_subscribe.callback transfer_ownership="1"
 g_dbus_connection_signal_subscribe.user_data_free_func hidden="1"
-GDBusInterfaceInfo.annotations is_array="1"
-GDBusInterfaceInfo.methods is_array="1"
-GDBusInterfaceInfo.properties is_array="1"
-GDBusInterfaceInfo.signals is_array="1"
+GDBusInterfaceInfo.annotations is_array="1" array_null_terminated="1"
+GDBusInterfaceInfo.methods is_array="1" array_null_terminated="1"
+GDBusInterfaceInfo.properties is_array="1" array_null_terminated="1"
+GDBusInterfaceInfo.signals is_array="1" array_null_terminated="1"
 g_dbus_message_print.indent default_value="0"
-GDBusMethodInfo.annotations is_array="1"
-GDBusMethodInfo.in_args is_array="1"
-GDBusMethodInfo.out_args is_array="1"
-GDBusNodeInfo.annotations is_array="1"
-GDBusNodeInfo.interfaces is_array="1"
-GDBusNodeInfo.nodes is_array="1"
+GDBusMethodInfo.annotations is_array="1" array_null_terminated="1"
+GDBusMethodInfo.in_args is_array="1" array_null_terminated="1"
+GDBusMethodInfo.out_args is_array="1" array_null_terminated="1"
+GDBusNodeInfo.annotations is_array="1" array_null_terminated="1"
+GDBusNodeInfo.interfaces is_array="1" array_null_terminated="1"
+GDBusNodeInfo.nodes is_array="1" array_null_terminated="1"
 GDBusProxy::g_properties_changed.invalidated_properties no_array_length="1" array_null_terminated="1"
 g_dbus_proxy_call async="1"
 g_dbus_proxy_call.parameters nullable="1"
@@ -105,9 +105,9 @@ g_dbus_proxy_new_sync.info nullable="1"
 g_dbus_proxy_new_for_bus async="1"
 g_dbus_proxy_new_for_bus.info nullable="1"
 g_dbus_proxy_new_for_bus_sync.info nullable="1"
-GDBusPropertyInfo.annotations is_array="1"
-GDBusSignalInfo.annotations is_array="1"
-GDBusSignalInfo.args is_array="1"
+GDBusPropertyInfo.annotations is_array="1" array_null_terminated="1"
+GDBusSignalInfo.annotations is_array="1" array_null_terminated="1"
+GDBusSignalInfo.args is_array="1" array_null_terminated="1"
 g_drive_eject async="1"
 g_drive_eject_with_operation async="1"
 g_drive_get_volumes type_arguments="Volume" transfer_ownership="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]