[Gtk-sharp-list] Mono.Cairo DllImport calling convention

Mike Kestner mkestner at gmail.com
Sun Jul 24 19:14:11 EDT 2011

On Sun, Jul 24, 2011 at 3:53 PM, diekleinekuh <markus-henschel at gmx.de>wrote:

> Hi there,
> while tracking bug https://bugzilla.novell.com/show_bug.cgi?id=583901 I
> tried to understand how gtksharp handles calling conventions of all the
> native GTK functions on windows. It seems like a perl script called
> gapi-cdecl-insert is used for that purpose. What makes me wonder is that
> this script is not used in the makefile of cairo. What's the reason for
> this? Is it a bug?

gapi-cdecl-insert replaces GLib.CDeclCallbackAttributes with the appropriate
IL.  It only applies to native callback delegates and only ones decorated
with that attribute.

> I did all my research on gtksharp 2.12 because that's the current stable
> release version.
CDeclCallbackAttribute doesn't exist in master, since we've switched to the
UnmanagedFunctionPointerAttribute which is handled automatically by mcs/csc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20110724/2cc0ba37/attachment.html 

More information about the Gtk-sharp-list mailing list