mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 03:49:12 +00:00
Add gio-windows vapi
This commit is contained in:
parent
c2b23230f4
commit
b3608762e4
|
@ -115,7 +115,8 @@ EXTRA_DIST += \
|
|||
vapi/libpeas-1.0.vapi \
|
||||
vapi/libsoup-2.4.deps \
|
||||
vapi/libsoup-2.4.vapi \
|
||||
vapi/gitg-platform-support.vapi
|
||||
vapi/gitg-platform-support.vapi \
|
||||
vapi/gio-windows-2.0.vapi
|
||||
|
||||
%.typelib: %.gir
|
||||
$(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) --includedir=$(top_srcdir) -o $@ $<
|
||||
|
|
21
vapi/gio-windows-2.0.vapi
Normal file
21
vapi/gio-windows-2.0.vapi
Normal file
|
@ -0,0 +1,21 @@
|
|||
[CCode (cprefix = "G", lower_case_cprefix = "g_")]
|
||||
namespace GLib {
|
||||
[CCode (cheader_filename = "gio/gwin32inputstream.h")]
|
||||
public class Win32InputStream : GLib.InputStream {
|
||||
[CCode (has_construct_function = false, type = "GInputStream*")]
|
||||
public Win32InputStream (int handle, bool close_fd);
|
||||
public bool get_close_handle ();
|
||||
public void set_close_handle (bool close_fd);
|
||||
public bool close_handle { get; set; }
|
||||
public int handle { get; construct; }
|
||||
}
|
||||
[CCode (cheader_filename = "gio/gwin32outputstream.h")]
|
||||
public class Win32OutputStream : GLib.OutputStream {
|
||||
[CCode (has_construct_function = false, type = "GOutputStream*")]
|
||||
public Win32OutputStream (int handle, bool close_fd);
|
||||
public bool get_close_handle ();
|
||||
public void set_close_handle (bool close_fd);
|
||||
public bool close_handle { get; set; }
|
||||
public int handle { get; construct; }
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue