summaryrefslogtreecommitdiff
path: root/vapi/gio-2.0.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi/gio-2.0.vapi')
-rw-r--r--vapi/gio-2.0.vapi13
1 files changed, 7 insertions, 6 deletions
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 6f4d7356d..1b9cb9230 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -314,6 +314,7 @@ namespace GLib {
public class IOExtension {
public unowned string get_name ();
public int get_priority ();
+ public GLib.Type get_type ();
public unowned GLib.TypeClass ref_class ();
}
[Compact]
@@ -1064,14 +1065,14 @@ namespace GLib {
public delegate void AsyncReadyCallback (GLib.Object source_object, GLib.AsyncResult res);
[CCode (cheader_filename = "gio/gio.h")]
public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes);
- [CCode (cheader_filename = "gio/gio.h")]
- public static delegate bool FileReadMoreCallback (string file_contents, int64 file_size, void* callback_data);
+ [CCode (cheader_filename = "gio/gio.h", has_target = false)]
+ public delegate bool FileReadMoreCallback (string file_contents, int64 file_size, void* callback_data);
[CCode (cheader_filename = "gio/gio.h")]
public delegate bool IOSchedulerJobFunc (GLib.IOSchedulerJob job, GLib.Cancellable cancellable);
- [CCode (cheader_filename = "gio/gio.h")]
- public static delegate void* ReallocFunc (void* data, size_t size);
- [CCode (cheader_filename = "gio/gio.h")]
- public static delegate void SimpleAsyncThreadFunc (GLib.SimpleAsyncResult res, GLib.Object object, GLib.Cancellable cancellable);
+ [CCode (cheader_filename = "gio/gio.h", has_target = false)]
+ public delegate void* ReallocFunc (void* data, size_t size);
+ [CCode (cheader_filename = "gio/gio.h", has_target = false)]
+ public delegate void SimpleAsyncThreadFunc (GLib.SimpleAsyncResult res, GLib.Object object, GLib.Cancellable cancellable);
[CCode (cheader_filename = "gio/gio.h")]
public const string FILE_ATTRIBUTE_ACCESS_CAN_DELETE;
[CCode (cheader_filename = "gio/gio.h")]