gstreamer/sources/generated/Gst/ValueTable.cs

66 lines
1.9 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 {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Autogenerated code
[StructLayout(LayoutKind.Sequential)]
public partial struct ValueTable : IEquatable<ValueTable> {
public GLib.GType Type;
private GstSharp.ValueCompareFuncNative _compare;
public Gst.ValueCompareFunc Compare {
get {
return GstSharp.ValueCompareFuncWrapper.GetManagedDelegate (_compare);
}
}
private GstSharp.ValueSerializeFuncNative _serialize;
public Gst.ValueSerializeFunc Serialize {
get {
return GstSharp.ValueSerializeFuncWrapper.GetManagedDelegate (_serialize);
}
}
private GstSharp.ValueDeserializeFuncNative _deserialize;
public Gst.ValueDeserializeFunc Deserialize {
get {
return GstSharp.ValueDeserializeFuncWrapper.GetManagedDelegate (_deserialize);
}
}
[MarshalAs (UnmanagedType.ByValArray, SizeConst=4)]
private IntPtr[] _gstGstReserved;
public static Gst.ValueTable Zero = new Gst.ValueTable ();
public static Gst.ValueTable New(IntPtr raw) {
if (raw == IntPtr.Zero)
return Gst.ValueTable.Zero;
return (Gst.ValueTable) Marshal.PtrToStructure (raw, typeof (Gst.ValueTable));
}
public bool Equals (ValueTable other)
{
return true && Type.Equals (other.Type) && Compare.Equals (other.Compare) && Serialize.Equals (other.Serialize) && Deserialize.Equals (other.Deserialize);
}
public override bool Equals (object other)
{
return other is ValueTable && Equals ((ValueTable) other);
}
public override int GetHashCode ()
{
return this.GetType ().FullName.GetHashCode () ^ Type.GetHashCode () ^ Compare.GetHashCode () ^ Serialize.GetHashCode () ^ Deserialize.GetHashCode ();
}
private static GLib.GType GType {
get { return GLib.GType.Pointer; }
}
#endregion
}
}