gstreamer/sources/generated/Gst/ValueList.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

132 lines
5.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
public partial class ValueList : GLib.Opaque {
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_value_list_get_type();
public static GLib.GType GType {
get {
IntPtr raw_ret = gst_value_list_get_type();
GLib.GType ret = new GLib.GType(raw_ret);
return ret;
}
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_value_list_append_and_take_value(IntPtr value, IntPtr append_value);
public static void AppendAndTakeValue(GLib.Value value, GLib.Value append_value) {
IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
IntPtr native_append_value = GLib.Marshaller.StructureToPtrAlloc (append_value);
gst_value_list_append_and_take_value(native_value, native_append_value);
Marshal.FreeHGlobal (native_value);
Marshal.FreeHGlobal (native_append_value);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_value_list_append_value(IntPtr value, IntPtr append_value);
public static void AppendValue(GLib.Value value, GLib.Value append_value) {
IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
IntPtr native_append_value = GLib.Marshaller.StructureToPtrAlloc (append_value);
gst_value_list_append_value(native_value, native_append_value);
Marshal.FreeHGlobal (native_value);
Marshal.FreeHGlobal (native_append_value);
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_value_list_concat(IntPtr dest, IntPtr value1, IntPtr value2);
public static GLib.Value Concat(GLib.Value value1, GLib.Value value2) {
GLib.Value dest;
IntPtr native_dest = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (GLib.Value)));
IntPtr native_value1 = GLib.Marshaller.StructureToPtrAlloc (value1);
IntPtr native_value2 = GLib.Marshaller.StructureToPtrAlloc (value2);
gst_value_list_concat(native_dest, native_value1, native_value2);
dest = (GLib.Value) Marshal.PtrToStructure (native_dest, typeof (GLib.Value));
Marshal.FreeHGlobal (native_dest);
Marshal.FreeHGlobal (native_value1);
Marshal.FreeHGlobal (native_value2);
return dest;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern uint gst_value_list_get_size(IntPtr value);
public static uint GetSize(GLib.Value value) {
IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
uint raw_ret = gst_value_list_get_size(native_value);
uint ret = raw_ret;
Marshal.FreeHGlobal (native_value);
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_value_list_get_value(IntPtr value, uint index);
public static GLib.Value GetValue(GLib.Value value, uint index) {
IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
IntPtr raw_ret = gst_value_list_get_value(native_value, index);
GLib.Value ret = (GLib.Value) Marshal.PtrToStructure (raw_ret, typeof (GLib.Value));
Marshal.FreeHGlobal (native_value);
return ret;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_value_list_merge(IntPtr dest, IntPtr value1, IntPtr value2);
public static GLib.Value Merge(GLib.Value value1, GLib.Value value2) {
GLib.Value dest;
IntPtr native_dest = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (GLib.Value)));
IntPtr native_value1 = GLib.Marshaller.StructureToPtrAlloc (value1);
IntPtr native_value2 = GLib.Marshaller.StructureToPtrAlloc (value2);
gst_value_list_merge(native_dest, native_value1, native_value2);
dest = (GLib.Value) Marshal.PtrToStructure (native_dest, typeof (GLib.Value));
Marshal.FreeHGlobal (native_dest);
Marshal.FreeHGlobal (native_value1);
Marshal.FreeHGlobal (native_value2);
return dest;
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_value_list_prepend_value(IntPtr value, IntPtr prepend_value);
public static void PrependValue(GLib.Value value, GLib.Value prepend_value) {
IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
IntPtr native_prepend_value = GLib.Marshaller.StructureToPtrAlloc (prepend_value);
gst_value_list_prepend_value(native_value, native_prepend_value);
Marshal.FreeHGlobal (native_value);
Marshal.FreeHGlobal (native_prepend_value);
}
public ValueList(IntPtr raw) : base(raw) {}
// Internal representation of the wrapped structure ABI.
static GLib.AbiStruct _abi_info = null;
static public GLib.AbiStruct abi_info {
get {
if (_abi_info == null)
_abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{
});
return _abi_info;
}
}
// End of the ABI representation.
#endregion
}
}