summaryrefslogtreecommitdiff
path: root/sources/generated/Gst.FFT_FFTF32Complex.cs
blob: 6db2d6a4fe995a9ae2431c36a32d52f830cbde29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// 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 FFTF32Complex : IEquatable<FFTF32Complex> {

		public float R;
		public float I;

		public static Gst.FFT.FFTF32Complex Zero = new Gst.FFT.FFTF32Complex ();

		public static Gst.FFT.FFTF32Complex New(IntPtr raw) {
			if (raw == IntPtr.Zero)
				return Gst.FFT.FFTF32Complex.Zero;
			return (Gst.FFT.FFTF32Complex) Marshal.PtrToStructure (raw, typeof (Gst.FFT.FFTF32Complex));
		}

		public bool Equals (FFTF32Complex other)
		{
			return true && R.Equals (other.R) && I.Equals (other.I);
		}

		public override bool Equals (object other)
		{
			return other is FFTF32Complex && Equals ((FFTF32Complex) 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
	}
}