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:
parent
d74a92212f
commit
33c41a50a5
@ -32,6 +32,7 @@ using System.Collections;
|
|||||||
namespace Gst
|
namespace Gst
|
||||||
{
|
{
|
||||||
|
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
delegate void GClosureMarshal (IntPtr closure, ref GLib.Value retval, uint argc, IntPtr argsPtr,
|
delegate void GClosureMarshal (IntPtr closure, ref GLib.Value retval, uint argc, IntPtr argsPtr,
|
||||||
IntPtr invocation_hint, IntPtr data);
|
IntPtr invocation_hint, IntPtr data);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user