mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
2d00f898fb
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.
65 lines
1.9 KiB
C#
65 lines
1.9 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 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
|
|
}
|
|
}
|