[MacRuby-devel] CVImageBufferRef vs __NSCFType

Steven Parkes smparkes at smparkes.net
Mon Aug 23 11:12:00 PDT 2010


> Can you add a little more information to the issue maybe?

The callback is getting most of its parameters typed correctly, but one of them seems to be not. Not only does #inspect show this, but trying to pass it to a framework function fails with

2010-08-23 11:09:11.789 macruby[77790:9207] *** Ignoring exception: expected instance of Pointer, got `#<__NSCFType:0x2004d4a80>' (__NSCFType) (TypeError)

> Do you have a sample script we could try?

Sure. http://gist.github.com/545987.

I can submit a trac issue if it's not me doing something stupid ...


More information about the MacRuby-devel mailing list