From 0c840b69afc07512f5b01ffc8326cc57b9d0bbe5 Mon Sep 17 00:00:00 2001 From: Stephan Sundermann Date: Tue, 25 Nov 2014 15:56:46 +0100 Subject: [PATCH] Version: Add missing calling conventions --- sources/custom/Version.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/custom/Version.cs b/sources/custom/Version.cs index f185109d42..8de1b2ec5a 100644 --- a/sources/custom/Version.cs +++ b/sources/custom/Version.cs @@ -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 (); } }