[Mono-osx] MonoMac: NSRangePointer
gnorton at novell.com
Sun May 9 01:16:15 EDT 2010
On 2010-05-05, at 2:32 PM, Miguel de Icaza wrote:
> 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...
More information about the Mono-osx