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.
73 lines
2.1 KiB
C#
73 lines
2.1 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 MetaInfo : IEquatable<MetaInfo> {
|
|
|
|
public GLib.GType Api;
|
|
public GLib.GType Type;
|
|
private UIntPtr size;
|
|
public ulong Size {
|
|
get {
|
|
return (ulong) size;
|
|
}
|
|
set {
|
|
size = new UIntPtr (value);
|
|
}
|
|
}
|
|
private GstSharp.MetaInitFunctionNative _init_func;
|
|
public Gst.MetaInitFunction InitFunc {
|
|
get {
|
|
return GstSharp.MetaInitFunctionWrapper.GetManagedDelegate (_init_func);
|
|
}
|
|
}
|
|
private GstSharp.MetaFreeFunctionNative _free_func;
|
|
public Gst.MetaFreeFunction FreeFunc {
|
|
get {
|
|
return GstSharp.MetaFreeFunctionWrapper.GetManagedDelegate (_free_func);
|
|
}
|
|
}
|
|
private GstSharp.MetaTransformFunctionNative _transform_func;
|
|
public Gst.MetaTransformFunction TransformFunc {
|
|
get {
|
|
return GstSharp.MetaTransformFunctionWrapper.GetManagedDelegate (_transform_func);
|
|
}
|
|
}
|
|
|
|
public static Gst.MetaInfo Zero = new Gst.MetaInfo ();
|
|
|
|
public static Gst.MetaInfo New(IntPtr raw) {
|
|
if (raw == IntPtr.Zero)
|
|
return Gst.MetaInfo.Zero;
|
|
return (Gst.MetaInfo) Marshal.PtrToStructure (raw, typeof (Gst.MetaInfo));
|
|
}
|
|
|
|
public bool Equals (MetaInfo other)
|
|
{
|
|
return true && Api.Equals (other.Api) && Type.Equals (other.Type) && Size.Equals (other.Size) && InitFunc.Equals (other.InitFunc) && FreeFunc.Equals (other.FreeFunc) && TransformFunc.Equals (other.TransformFunc);
|
|
}
|
|
|
|
public override bool Equals (object other)
|
|
{
|
|
return other is MetaInfo && Equals ((MetaInfo) other);
|
|
}
|
|
|
|
public override int GetHashCode ()
|
|
{
|
|
return this.GetType ().FullName.GetHashCode () ^ Api.GetHashCode () ^ Type.GetHashCode () ^ Size.GetHashCode () ^ InitFunc.GetHashCode () ^ FreeFunc.GetHashCode () ^ TransformFunc.GetHashCode ();
|
|
}
|
|
|
|
private static GLib.GType GType {
|
|
get { return GLib.GType.Pointer; }
|
|
}
|
|
#endregion
|
|
}
|
|
}
|