gstreamer/sources/generated/Gst/FormatDefinition.cs
Thibault Saunier 2d00f898fb Move generated files to dedicated folders named by namespace
Making it cleaner and simpler to navigate and removing previous
ugly and now useless hack where we were renaming files ourself
to make meson happy.
2018-03-11 21:47:35 -03:00

48 lines
1.4 KiB
C#

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