public uint register_subtree (string object_path, GLib.DBusSubtreeVTable vtable, GLib.DBusSubtreeFlags flags, GLib.DestroyNotify user_data_free_func) throws GLib.Error;
public void remove_filter (uint filter_id);
public bool send_message (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, out uint32 out_serial) throws GLib.Error;
- public async GLib.DBusMessage send_message_with_reply (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, int timeout_msec, out uint32 out_serial, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async GLib.DBusMessage send_message_with_reply (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, int timeout_msec, uint32* out_serial = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.DBusMessage send_message_with_reply_sync (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, int timeout_msec, out uint32 out_serial, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void set_exit_on_close (bool exit_on_close);
public uint signal_subscribe (string? sender, string? interface_name, string? member, string? object_path, string? arg0, GLib.DBusSignalFlags flags, owned GLib.DBusSignalCallback callback);
[Compact]
public class UnixCredentialsMessage {
}
- [CCode (cheader_filename = "gio/gio.h")]
- [Compact]
- public class UnixFDList {
+ [CCode (cheader_filename = "gio/gunixfdlist.h")]
+ public class UnixFDList : GLib.Object {
+ public UnixFDList ();
+ public int append (int fd) throws GLib.IOError;
+ public UnixFDList.from_array (int[] fds);
+ public int @get (int index) throws GLib.IOError;
+ public unowned int[] peek_fds ();
+ public int[] steal_fds ();
+ public int length { get; }
}
[CCode (cheader_filename = "gio/gio.h")]
public class Vfs : GLib.Object {
[Deprecated (since = "vala-0.12", replacement = "GLib.ContentType.is_unknown")]
[CCode (cname = "g_content_type_is_unknown", cheader_filename = "gio/gio.h")]
public static bool g_content_type_is_unknown (string type);
+
+ [CCode (cheader_filename = "gio/gunixfdlist.h")]
+ public class UnixFDList : GLib.Object {
+ public UnixFDList ();
+ public UnixFDList.from_array (int[] fds);
+ public int length { get; }
+ public int get (int index) throws GLib.IOError;
+ public unowned int[] peek_fds ();
+ public int[] steal_fds ();
+ public int append (int fd) throws GLib.IOError;
+ }
}
g_dbus_connection_new_for_address async="1"
g_dbus_connection_new.observer nullable="1" default_value="null"
g_dbus_connection_send_message_with_reply async="1"
-g_dbus_connection_send_message_with_reply.out_serial is_out="1"
+g_dbus_connection_send_message_with_reply.out_serial is_pointer="1" default_value="null"
g_dbus_connection_send_message_with_reply_sync.out_serial is_out="1"
g_dbus_connection_send_message_with_reply_finish transfer_ownership="1"
g_dbus_connection_send_message_with_reply_sync transfer_ownership="1"
g_dbus_server_new_sync.observer nullable="1" default_value="null"
GSettingsBackend base_class="GObject"
+
+GUnixFDList hidden="1"
return_type = new ArrayType (return_type, 1, return_type.source_reference);
m.return_type = return_type;
}
+ } else if (nv[0] == "is_pointer") {
+ if (eval (nv[1]) == "1") {
+ return_type = new PointerType (return_type, return_type.source_reference);
+ m.return_type = return_type;
+ }
} else if (nv[0] == "throws") {
if (eval (nv[1]) == "0") {
suppress_throws = true;
}
array_requested = true;
}
+ } else if (nv[0] == "is_pointer") {
+ if (eval (nv[1]) == "1") {
+ param_type = new PointerType (param_type, return_type.source_reference);
+ p.variable_type = param_type;
+ if (!out_requested) {
+ p.direction = ParameterDirection.IN;
+ }
+ }
} else if (nv[0] == "is_out") {
if (eval (nv[1]) == "1") {
p.direction = ParameterDirection.OUT;