Release 1.21.90
[platform/upstream/gstreamer.git] / subprojects / gstreamer-sharp / sources / generated / Gst / ValueArray.cs
1 // This file was generated by the Gtk# code generator.
2 // Any changes made will be lost if regenerated.
3
4 namespace Gst {
5
6         using System;
7         using System.Collections;
8         using System.Collections.Generic;
9         using System.Runtime.InteropServices;
10
11 #region Autogenerated code
12         public partial class ValueArray : GLib.Opaque {
13
14                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
15                 static extern IntPtr gst_value_array_get_type();
16
17                 public static GLib.GType GType { 
18                         get {
19                                 IntPtr raw_ret = gst_value_array_get_type();
20                                 GLib.GType ret = new GLib.GType(raw_ret);
21                                 return ret;
22                         }
23                 }
24
25                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
26                 static extern void gst_value_array_append_and_take_value(IntPtr value, IntPtr append_value);
27
28                 public static void AppendAndTakeValue(GLib.Value value, GLib.Value append_value) {
29                         IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
30                         IntPtr native_append_value = GLib.Marshaller.StructureToPtrAlloc (append_value);
31                         gst_value_array_append_and_take_value(native_value, native_append_value);
32                         Marshal.FreeHGlobal (native_value);
33                         Marshal.FreeHGlobal (native_append_value);
34                 }
35
36                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
37                 static extern void gst_value_array_append_value(IntPtr value, IntPtr append_value);
38
39                 public static void AppendValue(GLib.Value value, GLib.Value append_value) {
40                         IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
41                         IntPtr native_append_value = GLib.Marshaller.StructureToPtrAlloc (append_value);
42                         gst_value_array_append_value(native_value, native_append_value);
43                         Marshal.FreeHGlobal (native_value);
44                         Marshal.FreeHGlobal (native_append_value);
45                 }
46
47                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
48                 static extern uint gst_value_array_get_size(IntPtr value);
49
50                 public static uint GetSize(GLib.Value value) {
51                         IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
52                         uint raw_ret = gst_value_array_get_size(native_value);
53                         uint ret = raw_ret;
54                         Marshal.FreeHGlobal (native_value);
55                         return ret;
56                 }
57
58                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
59                 static extern IntPtr gst_value_array_get_value(IntPtr value, uint index);
60
61                 public static GLib.Value GetValue(GLib.Value value, uint index) {
62                         IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
63                         IntPtr raw_ret = gst_value_array_get_value(native_value, index);
64                         GLib.Value ret = (GLib.Value) Marshal.PtrToStructure (raw_ret, typeof (GLib.Value));
65                         Marshal.FreeHGlobal (native_value);
66                         return ret;
67                 }
68
69                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
70                 static extern IntPtr gst_value_array_init(IntPtr value, uint prealloc);
71
72                 public static GLib.Value Init(GLib.Value value, uint prealloc) {
73                         IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
74                         IntPtr raw_ret = gst_value_array_init(native_value, prealloc);
75                         GLib.Value ret = (GLib.Value) Marshal.PtrToStructure (raw_ret, typeof (GLib.Value));
76                         Marshal.FreeHGlobal (native_value);
77                         return ret;
78                 }
79
80                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
81                 static extern void gst_value_array_prepend_value(IntPtr value, IntPtr prepend_value);
82
83                 public static void PrependValue(GLib.Value value, GLib.Value prepend_value) {
84                         IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
85                         IntPtr native_prepend_value = GLib.Marshaller.StructureToPtrAlloc (prepend_value);
86                         gst_value_array_prepend_value(native_value, native_prepend_value);
87                         Marshal.FreeHGlobal (native_value);
88                         Marshal.FreeHGlobal (native_prepend_value);
89                 }
90
91                 public ValueArray(IntPtr raw) : base(raw) {}
92
93
94                 // Internal representation of the wrapped structure ABI.
95                 static GLib.AbiStruct _abi_info = null;
96                 static public GLib.AbiStruct abi_info {
97                         get {
98                                 if (_abi_info == null)
99                                         _abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{ 
100                                         });
101
102                                 return _abi_info;
103                         }
104                 }
105
106
107                 // End of the ABI representation.
108
109 #endregion
110         }
111 }