Mark calling convention on GInterface callbacks
Fixes #583901. Adapted from fix for 2.12 from Markus Henschel. * glib/GInterfaceAdapter.cs: add UnmanagedFunctionPointer attrs
This commit is contained in:
parent
1a0ecbb111
commit
51d5faf651
1 changed files with 2 additions and 0 deletions
|
@ -24,8 +24,10 @@ namespace GLib {
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
||||
public delegate void GInterfaceInitHandler (IntPtr iface_ptr, IntPtr data);
|
||||
|
||||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
||||
internal delegate void GInterfaceFinalizeHandler (IntPtr iface_ptr, IntPtr data);
|
||||
|
||||
internal struct GInterfaceInfo {
|
||||
|
|
Loading…
Add table
Reference in a new issue