blob: a12fdec4d02120d0fa4dd5b6abc1589be3ac895c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
using GLib;
namespace Custom {
[CCode (cname = "g_warn_if", cheader_filename = "custom.h")]
public bool warn_if(bool condition);
}
namespace Spice {
[CCode (cname = "GObject", ref_function = "g_object_ref", unref_function = "g_object_unref", free_function = "")]
class ControllerListener {
[CCode (cname = "spice_controller_listener_new", cheader_filename = "spice-controller-listener.h")]
public static ControllerListener new_listener (string addr) throws GLib.Error;
[CCode (cname = "spice_controller_listener_accept_async", cheader_filename = "spice-controller-listener.h")]
public async unowned GLib.IOStream accept_async (GLib.Cancellable? cancellable = null, out GLib.Object? source_object = null) throws GLib.Error;
}
[CCode (cname = "GObject", ref_function = "g_object_ref", unref_function = "g_object_unref", free_function = "")]
class ForeignMenuListener {
[CCode (cname = "spice_foreign_menu_listener_new", cheader_filename = "spice-foreign-menu-listener.h")]
public static ForeignMenuListener new_listener (string addr) throws GLib.Error;
[CCode (cname = "spice_foreign_menu_listener_accept_async", cheader_filename = "spice-foreign-menu-listener.h")]
public async unowned GLib.IOStream accept_async (GLib.Cancellable? cancellable = null, out GLib.Object? source_object = null) throws GLib.Error;
}
}
|