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.

50 lines
1.4 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;
[MarshalAs (UnmanagedType.ByValArray, SizeConst=4)]
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);
}
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 ();
}
private static GLib.GType GType {
get { return GLib.GType.Pointer; }
}
#endregion
}
}