From: Jonathan P. <jp...@dc...> - 2005-12-23 11:12:31
|
Hello, When using ns_overrides on methods that return large values (e.g., an NSRect), a crash occurs since the native function implementation used doesn't handle the msgSend_stret hidden first argument. The attached patch resolves this issue by choosing between one of two implementations for the handle_ruby_method function. I haven't adjusted indentation in order to make the patch smaller and clearer, so some cleanup may be required after application. Cheers, Jonathan |