Would it be possible to keep track of the classes that have BridgeSupport files and load those automatically when the class is loaded?  That would at least prevent segfaults for the classes that have bridgesupport classes.

- Ian

On Wed, Oct 14, 2009 at 7:26 PM, Laurent Sansonetti (lsansone...@apple.com) wrote:
> >
> > Oh, my fault! But wouldn't it be better NOT to respond with a
> > segment fault (this irritated me) and instead throw an normal ruby
> > exception? (But perhaps that is impossible.)
>
> It's unfortunately not possible, we crash when calling the method
> because we don't use the right ABI conventions (since the method is
> variadic) and there is no way we can determine that at runtime.
>
> This is why we need to load the framework metadata (BridgeSupport
> file) in order to handle these methods.
>
> Laurent

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to