public void FdIgnored(Gst.PollFD fd) { IntPtr native_fd = GLib.Marshaller.StructureToPtrAlloc(fd); gst_poll_fd_ignored(Handle, native_fd); Marshal.FreeHGlobal(native_fd); }
public bool FdHasClosed(Gst.PollFD fd) { IntPtr native_fd = GLib.Marshaller.StructureToPtrAlloc(fd); bool raw_ret = gst_poll_fd_has_closed(Handle, native_fd); bool ret = raw_ret; Marshal.FreeHGlobal(native_fd); return(ret); }
public bool FdCtlWrite(Gst.PollFD fd, bool active) { IntPtr native_fd = GLib.Marshaller.StructureToPtrAlloc(fd); bool raw_ret = gst_poll_fd_ctl_write(Handle, native_fd, active); bool ret = raw_ret; Marshal.FreeHGlobal(native_fd); return(ret); }
static void ReadNative(IntPtr native, ref Gst.PollFD target) { target = New(native); }