From 415870bb301ccb6027d89d32010b63f1834d05c6 Mon Sep 17 00:00:00 2001 From: Stephan Sundermann Date: Tue, 25 Nov 2014 15:53:41 +0100 Subject: [PATCH] Message: Add missing calling convention --- sources/custom/Message.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/custom/Message.cs b/sources/custom/Message.cs index 0dca0b3192..f7193b2d58 100644 --- a/sources/custom/Message.cs +++ b/sources/custom/Message.cs @@ -22,7 +22,7 @@ namespace Gst { partial class Message { - [DllImport ("libgstreamer-1.0-0.dll") ] + [DllImport ("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_message_parse_error (IntPtr msg, out IntPtr err, out IntPtr debug); public void ParseError (out GLib.GException error, out string debug) {