Version: Add missing calling conventions
authorStephan Sundermann <ssundermann@gnome.org>
Tue, 25 Nov 2014 14:56:46 +0000 (15:56 +0100)
committerStephan Sundermann <ssundermann@gnome.org>
Tue, 25 Nov 2014 14:56:46 +0000 (15:56 +0100)
sources/custom/Version.cs

index f185109d42f4ecb535d5d944da74d7aea80ddc12..8de1b2ec5aae9fe9fe35ff5bf530b8c57bedc9bc 100644 (file)
@@ -75,10 +75,10 @@ namespace Gst
                        }
                }
 
-               [DllImport ("libgstreamer-1.0-0.dll")]
+               [DllImport ("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
                private static extern void gst_version (out uint major, out uint minor, out uint micro, out uint nano);
 
-               [DllImport ("libgstreamer-1.0-0.dll")]
+               [DllImport ("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
                private static extern IntPtr gst_version_string ();
        }
 }