gstreamer/subprojects/gstreamer-sharp/sources/generated/Gst.App/AppSinkCallbacks.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1.7 KiB
C#
Raw Normal View History

2018-01-29 18:56:49 +00:00
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gst.App {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Autogenerated code
[StructLayout(LayoutKind.Sequential)]
public partial struct AppSinkCallbacks : IEquatable<AppSinkCallbacks> {
private IntPtr _eos;
private IntPtr _new_preroll;
private IntPtr _new_sample;
private IntPtr _new_event;
private IntPtr _propose_allocation;
[MarshalAs (UnmanagedType.ByValArray, SizeConst=2)]
2018-01-29 18:56:49 +00:00
private IntPtr[] _gstGstReserved;
public static Gst.App.AppSinkCallbacks Zero = new Gst.App.AppSinkCallbacks ();
public static Gst.App.AppSinkCallbacks New(IntPtr raw) {
if (raw == IntPtr.Zero)
return Gst.App.AppSinkCallbacks.Zero;
return (Gst.App.AppSinkCallbacks) Marshal.PtrToStructure (raw, typeof (Gst.App.AppSinkCallbacks));
}
public bool Equals (AppSinkCallbacks other)
{
return true && _eos.Equals (other._eos) && _new_preroll.Equals (other._new_preroll) && _new_sample.Equals (other._new_sample) && _new_event.Equals (other._new_event) && _propose_allocation.Equals (other._propose_allocation);
2018-01-29 18:56:49 +00:00
}
public override bool Equals (object other)
{
return other is AppSinkCallbacks && Equals ((AppSinkCallbacks) other);
}
public override int GetHashCode ()
{
return this.GetType ().FullName.GetHashCode () ^ _eos.GetHashCode () ^ _new_preroll.GetHashCode () ^ _new_sample.GetHashCode () ^ _new_event.GetHashCode () ^ _propose_allocation.GetHashCode ();
2018-01-29 18:56:49 +00:00
}
private static GLib.GType GType {
get { return GLib.GType.Pointer; }
}
#endregion
}
}