[vala/0.40] gio-2.0: Replace finish_function ccode-attributes with finish_name
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] gio-2.0: Replace finish_function ccode-attributes with finish_name
- Date: Thu, 6 Dec 2018 13:10:13 +0000 (UTC)
commit aa0f7b38949b88dcd5df50b35689e9c16a657548
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Jul 16 19:25:55 2018 +0200
gio-2.0: Replace finish_function ccode-attributes with finish_name
vapi/gio-2.0.vapi | 20 ++++++++++----------
vapi/metadata/Gio-2.0-custom.vala | 20 ++++++++++----------
2 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 77bff391f..71015778f 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -664,10 +664,10 @@ namespace GLib {
public unowned GLib.IOStream get_stream ();
public unowned string get_unique_name ();
public bool is_closed ();
- [CCode (cname = "g_dbus_connection_new", finish_function = "g_dbus_connection_new_finish")]
+ [CCode (cname = "g_dbus_connection_new", finish_name = "g_dbus_connection_new_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusConnection")]
public static async GLib.DBusConnection @new (GLib.IOStream stream, string? guid,
GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null)
throws GLib.Error;
- [CCode (cname = "g_dbus_connection_new_for_address", finish_function =
"g_dbus_connection_new_for_address_finish")]
+ [CCode (cname = "g_dbus_connection_new_for_address", finish_name =
"g_dbus_connection_new_for_address_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusConnection.for_address")]
public static async GLib.DBusConnection new_for_address (string address,
GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null)
throws GLib.Error;
public uint register_object<T> (string object_path, T object) throws GLib.IOError;
@@ -902,10 +902,10 @@ namespace GLib {
public GLib.DBusObjectManagerClientFlags get_flags ();
public unowned string get_name ();
public string? get_name_owner ();
- [CCode (cname = "g_dbus_object_manager_client_new", finish_function =
"g_dbus_object_manager_client_new_finish")]
+ [CCode (cname = "g_dbus_object_manager_client_new", finish_name =
"g_dbus_object_manager_client_new_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusObjectManagerClient")]
public static async GLib.DBusObjectManagerClient @new (GLib.DBusConnection connection,
GLib.DBusObjectManagerClientFlags flags, string name, string object_path, [CCode (delegate_target_pos =
5.33333, destroy_notify_pos = 5.66667)] owned GLib.DBusProxyTypeFunc? get_proxy_type_func, GLib.Cancellable?
cancellable = null) throws GLib.Error;
- [CCode (cname = "g_dbus_object_manager_client_new_for_bus", finish_function =
"g_dbus_object_manager_client_new_for_bus_finish")]
+ [CCode (cname = "g_dbus_object_manager_client_new_for_bus", finish_name =
"g_dbus_object_manager_client_new_for_bus_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusObjectManagerClient.for_bus")]
public static async GLib.DBusObjectManagerClient new_for_bus (GLib.BusType bus_type,
GLib.DBusObjectManagerClientFlags flags, string name, string object_path, [CCode (delegate_target_pos =
5.33333, destroy_notify_pos = 5.66667)] owned GLib.DBusProxyTypeFunc? get_proxy_type_func, GLib.Cancellable?
cancellable = null) throws GLib.Error;
[CCode (has_construct_function = false, type = "GDBusObjectManager*")]
@@ -992,7 +992,7 @@ namespace GLib {
public async GLib.Variant call_with_unix_fd_list (string method_name, GLib.Variant?
parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, GLib.Cancellable?
cancellable = null, out GLib.UnixFDList? out_fd_list = null) throws GLib.Error;
[Version (since = "2.30")]
public GLib.Variant call_with_unix_fd_list_sync (string method_name, GLib.Variant?
parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, out GLib.UnixFDList?
out_fd_list = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
- [CCode (cname = "g_dbus_proxy_new_for_bus", finish_function =
"g_dbus_proxy_new_for_bus_finish")]
+ [CCode (cname = "g_dbus_proxy_new_for_bus", finish_name = "g_dbus_proxy_new_for_bus_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusProxy.for_bus")]
public static async GLib.DBusProxy create_for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags
flags, GLib.DBusInterfaceInfo? info, string name, string object_path, string interface_name,
GLib.Cancellable? cancellable = null) throws GLib.IOError;
[CCode (cname = "g_dbus_proxy_new_for_bus", has_construct_function = false)]
@@ -1010,7 +1010,7 @@ namespace GLib {
public unowned string get_name ();
public string? get_name_owner ();
public unowned string get_object_path ();
- [CCode (cname = "g_dbus_proxy_new", finish_function = "g_dbus_proxy_new_finish")]
+ [CCode (cname = "g_dbus_proxy_new", finish_name = "g_dbus_proxy_new_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusProxy")]
public static async GLib.DBusProxy @new (GLib.DBusConnection connection, GLib.DBusProxyFlags
flags, GLib.DBusInterfaceInfo? info, string? name, string object_path, string interface_name,
GLib.Cancellable? cancellable = null) throws GLib.IOError;
public void set_cached_property (string property_name, GLib.Variant? value);
@@ -1093,7 +1093,7 @@ namespace GLib {
public async string? read_line_async (int io_priority = GLib.Priority.DEFAULT,
GLib.Cancellable? cancellable = null, out size_t length = null) throws GLib.IOError, GLib.IOError;
[Version (since = "2.30")]
public string? read_line_utf8 (out size_t length = null, GLib.Cancellable? cancellable =
null) throws GLib.IOError;
- [CCode (cname = "g_data_input_stream_read_line_async", finish_function =
"g_data_input_stream_read_line_finish_utf8")]
+ [CCode (cname = "g_data_input_stream_read_line_async", finish_name =
"g_data_input_stream_read_line_finish_utf8")]
public async string? read_line_utf8_async (int io_priority = GLib.Priority.DEFAULT,
GLib.Cancellable? cancellable = null, out size_t length = null) throws GLib.IOError;
public uint16 read_uint16 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
public uint32 read_uint32 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
@@ -3256,11 +3256,11 @@ namespace GLib {
[Version (since = "2.22")]
public interface AsyncInitable : GLib.Object {
public virtual async bool init_async (int io_priority = GLib.Priority.DEFAULT,
GLib.Cancellable? cancellable = null) throws GLib.Error;
- [CCode (finish_function = "g_async_initable_new_finish")]
+ [CCode (finish_name = "g_async_initable_new_finish")]
public static async GLib.Object new_async (GLib.Type object_type, int io_priority =
GLib.Priority.DEFAULT, GLib.Cancellable? cancellable, ...) throws GLib.Error;
- [CCode (finish_function = "g_async_initable_new_finish")]
+ [CCode (finish_name = "g_async_initable_new_finish")]
public static async GLib.Object new_valist_async (GLib.Type object_type, string
first_property_name, va_list var_args, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable
= null);
- [CCode (finish_function = "g_async_initable_new_finish")]
+ [CCode (finish_name = "g_async_initable_new_finish")]
[Version (deprecated = true, deprecated_since = "2.54", since = "2.22")]
public static async GLib.Object newv_async (GLib.Type object_type, [CCode (array_length_pos =
1.1)] GLib.Parameter[] parameters, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable =
null);
}
diff --git a/vapi/metadata/Gio-2.0-custom.vala b/vapi/metadata/Gio-2.0-custom.vala
index 3e71e3de4..f8de8d8ac 100644
--- a/vapi/metadata/Gio-2.0-custom.vala
+++ b/vapi/metadata/Gio-2.0-custom.vala
@@ -29,10 +29,10 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_connection_get_type ()")]
public class DBusConnection : GLib.Object {
- [CCode (cname = "g_dbus_connection_new", finish_function = "g_dbus_connection_new_finish")]
+ [CCode (cname = "g_dbus_connection_new", finish_name = "g_dbus_connection_new_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusConnection")]
public static async GLib.DBusConnection @new (GLib.IOStream stream, string? guid,
GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null)
throws GLib.Error;
- [CCode (cname = "g_dbus_connection_new_for_address", finish_function =
"g_dbus_connection_new_for_address_finish")]
+ [CCode (cname = "g_dbus_connection_new_for_address", finish_name =
"g_dbus_connection_new_for_address_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusConnection.for_address")]
public static async GLib.DBusConnection @new_for_address (string address,
GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null)
throws GLib.Error;
public async T get_proxy<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0,
GLib.Cancellable? cancellable = null) throws GLib.IOError;
@@ -43,25 +43,25 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_client_get_type ()")]
public class DBusObjectManagerClient : GLib.Object {
- [CCode (cname = "g_dbus_object_manager_client_new", finish_function =
"g_dbus_object_manager_client_new_finish")]
+ [CCode (cname = "g_dbus_object_manager_client_new", finish_name =
"g_dbus_object_manager_client_new_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusObjectManagerClient")]
public static async GLib.DBusObjectManagerClient @new (GLib.DBusConnection connection,
GLib.DBusObjectManagerClientFlags flags, string name, string object_path, [CCode (delegate_target_pos =
5.33333, destroy_notify_pos = 5.66667)] owned GLib.DBusProxyTypeFunc? get_proxy_type_func, GLib.Cancellable?
cancellable = null) throws GLib.Error;
- [CCode (cname = "g_dbus_object_manager_client_new_for_bus", finish_function =
"g_dbus_object_manager_client_new_for_bus_finish")]
+ [CCode (cname = "g_dbus_object_manager_client_new_for_bus", finish_name =
"g_dbus_object_manager_client_new_for_bus_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusObjectManagerClient.for_bus")]
public static async GLib.DBusObjectManagerClient @new_for_bus (GLib.BusType bus_type,
GLib.DBusObjectManagerClientFlags flags, string name, string object_path, [CCode (delegate_target_pos =
5.33333, destroy_notify_pos = 5.66667)] owned GLib.DBusProxyTypeFunc? get_proxy_type_func, GLib.Cancellable?
cancellable = null) throws GLib.Error;
}
public class DBusProxy : GLib.Object {
- [CCode (cname = "g_dbus_proxy_new", finish_function = "g_dbus_proxy_new_finish")]
+ [CCode (cname = "g_dbus_proxy_new", finish_name = "g_dbus_proxy_new_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusProxy")]
public static async GLib.DBusProxy @new (GLib.DBusConnection connection, GLib.DBusProxyFlags
flags, GLib.DBusInterfaceInfo? info, string? name, string object_path, string interface_name,
GLib.Cancellable? cancellable = null) throws GLib.IOError;
- [CCode (cname = "g_dbus_proxy_new_for_bus", finish_function =
"g_dbus_proxy_new_for_bus_finish")]
+ [CCode (cname = "g_dbus_proxy_new_for_bus", finish_name = "g_dbus_proxy_new_for_bus_finish")]
[Version (deprecated_since = "vala-0.36", replacement = "DBusProxy.for_bus")]
public static async GLib.DBusProxy create_for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags
flags, GLib.DBusInterfaceInfo? info, string name, string object_path, string interface_name,
GLib.Cancellable? cancellable = null) throws GLib.IOError;
}
public class DataInputStream : GLib.BufferedInputStream {
- [CCode (cname = "g_data_input_stream_read_line_async", finish_function =
"g_data_input_stream_read_line_finish_utf8")]
+ [CCode (cname = "g_data_input_stream_read_line_async", finish_name =
"g_data_input_stream_read_line_finish_utf8")]
public async string? read_line_utf8_async (int io_priority = GLib.Priority.DEFAULT,
GLib.Cancellable? cancellable = null, out size_t length = null) throws GLib.IOError;
}
@@ -155,11 +155,11 @@ namespace GLib {
}
public interface AsyncInitable : GLib.Object {
- [CCode (finish_function = "g_async_initable_new_finish")]
+ [CCode (finish_name = "g_async_initable_new_finish")]
public static async GLib.Object new_async (GLib.Type object_type, int io_priority =
GLib.Priority.DEFAULT, GLib.Cancellable? cancellable, ...) throws GLib.Error;
- [CCode (finish_function = "g_async_initable_new_finish")]
+ [CCode (finish_name = "g_async_initable_new_finish")]
public static async GLib.Object new_valist_async (GLib.Type object_type, string
first_property_name, va_list var_args, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable
= null);
- [CCode (finish_function = "g_async_initable_new_finish")]
+ [CCode (finish_name = "g_async_initable_new_finish")]
[Version (deprecated = true, deprecated_since = "2.54", since = "2.22")]
public static async GLib.Object newv_async (GLib.Type object_type, [CCode (array_length_pos =
1.1)] GLib.Parameter[] parameters, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable =
null);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]