DynamicSignal: Add UnmanagedFunctionPointer to GClosureMarshal

Without the convention, Gst.Object.Connect causes AccessViolationException.

https://bugzilla.gnome.org/show_bug.cgi?id=792096
This commit is contained in:
Justin Kim 2018-01-01 22:59:02 +09:00 committed by Thibault Saunier
parent d74a92212f
commit 33c41a50a5

View file

@ -32,6 +32,7 @@ using System.Collections;
namespace Gst
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
delegate void GClosureMarshal (IntPtr closure, ref GLib.Value retval, uint argc, IntPtr argsPtr,
IntPtr invocation_hint, IntPtr data);