[Mono-osx] MonoMac: NSRangePointer

Geoff Norton gnorton at novell.com
Sun May 9 01:16:15 EDT 2010

On 2010-05-05, at 2:32 PM, Miguel de Icaza wrote:

> Hello,
> There are lots of types that are pointers to structs.  Here is one example:
>                 //- (BOOL)knowsPageRange:(NSRangePointer)range;
>                 [Export ("knowsPageRange:")]
>                 bool KnowsPageRange (NSRangePointer range);
> typedef NSRange *NSRangePointer;
> How should this be bound?
> For now flag it as a to-do item, and keep it commented out.
> The proper binding will require changes to both the engine and the generator;   It is in our list of tasks to finish.

I've implemented all the support for byref and unsafe pointer arguments to the runtime, so we should probably update the generator at this time so we can write some tests :)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20100509/5915ed48/attachment.html 

More information about the Mono-osx mailing list