When MacRuby's FFI support is more mature, declaring an FFI::Struct subclass like this will be another option.
Hi,Yes, use RubyCocoa
On Aug 5, 2009, at 5:31 PM, Clay Bridges wrote:
The google didn't yield much guidance on this. Before I started a
deep-dive on the MacRuby source, and/or the standard ruby way to
handle this sort of thing, I thought I would ask a couple of
questions:
1) Any easy advice?
RubyCocoa at least allows you to use BridgeSupport which would allow you to map these. Afaik MacRuby doesn't fully support it yet.
2) Is this different in MacRuby than in ruby proper?
BridgeSupport needs to fully implemented.
3) Any pointers into the MacRuby source that might help me?
Keep in mind, MacRuby is not stable yet.
HTH,
Eloy
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel