Re: Weird error with structs and @try/@catch
Re: Weird error with structs and @try/@catch
- Subject: Re: Weird error with structs and @try/@catch
- From: Shaun Wexler <email@hidden>
- Date: Wed, 10 May 2006 18:32:24 -0700
On May 10, 2006, at 6:29 PM, Glen Simmons wrote:
This is a bug, for sure... but for a workaround, can't you just
recast it?
[self foo:(NSRect)aRect];
Nope, that recast has no effect. Is there a way to cast away the
volatile-ness?
Try this instead:
[self foo:*(NSRect *)&aRect];
--
Shaun Wexler
MacFOH
http://www.macfoh.com
"A person who never made a mistake never tried anything new." -
Albert Einstein
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden