public bool IsEqual(Gst.Video.VideoColorimetry other) { IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal(System.Runtime.InteropServices.Marshal.SizeOf(this)); System.Runtime.InteropServices.Marshal.StructureToPtr(this, this_as_native, false); IntPtr native_other = GLib.Marshaller.StructureToPtrAlloc(other); bool raw_ret = gst_video_colorimetry_is_equal(this_as_native, native_other); bool ret = raw_ret; ReadNative(this_as_native, ref this); System.Runtime.InteropServices.Marshal.FreeHGlobal(this_as_native); Marshal.FreeHGlobal(native_other); return(ret); }
static void ReadNative(IntPtr native, ref Gst.Video.VideoColorimetry target) { target = New(native); }