gstreamer/subprojects/gstreamer-sharp/sources/generated/Gst.FFT/FFTS32Complex.cs

46 lines
1.1 KiB
C#

// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gst.FFT {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Autogenerated code
[StructLayout(LayoutKind.Sequential)]
public partial struct FFTS32Complex : IEquatable<FFTS32Complex> {
public int R;
public int I;
public static Gst.FFT.FFTS32Complex Zero = new Gst.FFT.FFTS32Complex ();
public static Gst.FFT.FFTS32Complex New(IntPtr raw) {
if (raw == IntPtr.Zero)
return Gst.FFT.FFTS32Complex.Zero;
return (Gst.FFT.FFTS32Complex) Marshal.PtrToStructure (raw, typeof (Gst.FFT.FFTS32Complex));
}
public bool Equals (FFTS32Complex other)
{
return true && R.Equals (other.R) && I.Equals (other.I);
}
public override bool Equals (object other)
{
return other is FFTS32Complex && Equals ((FFTS32Complex) other);
}
public override int GetHashCode ()
{
return this.GetType ().FullName.GetHashCode () ^ R.GetHashCode () ^ I.GetHashCode ();
}
private static GLib.GType GType {
get { return GLib.GType.Pointer; }
}
#endregion
}
}