[Mono-osx] Using 'out' in bindings
Miguel de Icaza
miguel at novell.com
Wed Dec 29 21:18:25 EST 2010
>
>
> Once those lines were removed from NSGradient.g.cs, the new binding worked
> correctly.
>
In cases like this, you need to use the [Internal] attribute on the
declaration, change the "out Foo" to IntPtr signatures, and write a wrapper
that does the conversion yourself to and form the IntPtr values.
Miguel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20101229/0d033ebe/attachment.html
More information about the Mono-osx
mailing list