public static bool IsValid(GLib.AsyncResult result, GLib.Object source, IntPtr source_tag) { bool raw_ret = g_simple_async_result_is_valid(result == null ? IntPtr.Zero : result.Handle, source == null ? IntPtr.Zero : source.Handle, source_tag); bool ret = raw_ret; return(ret); }
public unsafe bool CloseFinish(GLib.AsyncResult result) { IntPtr error = IntPtr.Zero; bool raw_ret = g_input_stream_close_finish(Handle, result == null ? IntPtr.Zero : result.Handle, out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe long SkipFinish(GLib.AsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_input_stream_skip_finish(Handle, result == null ? IntPtr.Zero : result.Handle, out error); long ret = (long)raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public bool EjectFinish(GLib.AsyncResult result) { IntPtr error = IntPtr.Zero; bool raw_ret = g_mount_eject_finish(Handle, result == null ? IntPtr.Zero : result.Handle, out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public string[] GuessContentTypeFinish(GLib.AsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_mount_guess_content_type_finish(Handle, result == null ? IntPtr.Zero : result.Handle, out error); string[] ret = GLib.Marshaller.NullTermPtrToStringArray(raw_ret, false); if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public bool UnmountWithOperationFinish(GLib.AsyncResult result) { IntPtr error = IntPtr.Zero; bool raw_ret = g_mount_unmount_with_operation_finish(Handle, result == null ? IntPtr.Zero : result.Handle, out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe GLib.FileInfo QueryInfoFinish(GLib.AsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_file_io_stream_query_info_finish(Handle, result == null ? IntPtr.Zero : result.Handle, out error); GLib.FileInfo ret = GLib.Object.GetObject(raw_ret) as GLib.FileInfo; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public bool InitFinish(GLib.AsyncResult res) { IntPtr error = IntPtr.Zero; bool raw_ret = g_async_initable_init_finish(Handle, res == null ? IntPtr.Zero : res.Handle, out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public GLib.InputStream LoadFinish(GLib.AsyncResult res, string type) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_loadable_icon_load_finish(Handle, res == null ? IntPtr.Zero : res.Handle, GLib.Marshaller.StringToPtrGStrdup(type), out error); GLib.InputStream ret = GLib.Object.GetObject(raw_ret) as GLib.InputStream; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public bool PollForMediaFinish(GLib.AsyncResult result) { IntPtr error = IntPtr.Zero; bool raw_ret = g_drive_poll_for_media_finish(Handle, result == null ? IntPtr.Zero : result.Handle, out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe GLib.List NextFilesFinish(GLib.AsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_file_enumerator_next_files_finish(Handle, result == null ? IntPtr.Zero : result.Handle, out error); var ret = new GLib.List(raw_ret); if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe string ReadUntilFinish(GLib.AsyncResult result, out ulong length) { UIntPtr native_length; IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_data_input_stream_read_until_finish(Handle, result == null ? IntPtr.Zero : result.Handle, out native_length, out error); string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); length = (ulong)native_length; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
void InvokeNative(GLib.Object source_object, GLib.AsyncResult res) { native_cb(source_object == null ? IntPtr.Zero : source_object.Handle, res == null ? IntPtr.Zero : res.Handle, __data); }
void InvokeNative(GLib.Object source_object, GLib.AsyncResult res) { native_cb(source_object == null ? IntPtr.Zero : source_object.Handle, res == null ? IntPtr.Zero : ((res is GLib.Object) ? (res as GLib.Object).Handle : (res as GLib.AsyncResultAdapter).Handle), __data); }