summaryrefslogtreecommitdiff
path: root/sources/generated/Gst/Caps.cs
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2018-03-13 09:27:01 -0300
committerThibault Saunier <tsaunier@igalia.com>2018-03-13 09:28:01 -0300
commitde989e180017f09b21fafb4de8dd60c72d25bc87 (patch)
tree9bfa5e0e6b27fe9fea42cd4db64feb800fbcbf17 /sources/generated/Gst/Caps.cs
parentb65093ab729fc89b894fff58d928bde0d95eb8a7 (diff)
caps: Make sure that the empty constructor build an Empty caps
Moving the NewAny variant at the end of the nodes in the API definition file. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=793054
Diffstat (limited to 'sources/generated/Gst/Caps.cs')
-rw-r--r--sources/generated/Gst/Caps.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/sources/generated/Gst/Caps.cs b/sources/generated/Gst/Caps.cs
index 53bd72b..1a7d97a 100644
--- a/sources/generated/Gst/Caps.cs
+++ b/sources/generated/Gst/Caps.cs
@@ -391,20 +391,11 @@ namespace Gst {
public Caps(IntPtr raw) : base(raw) {}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
- static extern IntPtr gst_caps_new_any();
-
- public Caps ()
- {
- Raw = gst_caps_new_any();
- }
-
- [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_caps_new_empty();
- public static Caps NewEmpty()
+ public Caps ()
{
- Caps result = new Caps (gst_caps_new_empty());
- return result;
+ Raw = gst_caps_new_empty();
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
@@ -417,6 +408,15 @@ namespace Gst {
GLib.Marshaller.Free (native_media_type);
}
+ [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern IntPtr gst_caps_new_any();
+
+ public static Caps NewAny()
+ {
+ Caps result = new Caps (gst_caps_new_any());
+ return result;
+ }
+
// Internal representation of the wrapped structure ABI.
static GLib.AbiStruct _abi_info = null;