Re: Methods with Variable Numbers of Arguments
Re: Methods with Variable Numbers of Arguments
- Subject: Re: Methods with Variable Numbers of Arguments
- From: matt neuburg <email@hidden>
- Date: Tue, 17 Dec 2002 14:02:25 -0800
On 12/17/02 at roughly 3:30 PM, thus spake Joe Osborn <email@hidden>:
>
I'm just not sure where it could happen... I'm invoking the method like
>
this:
>
>
OSBlock * block = [OSBlock blockWithString:@"[self workEffectively];
>
return [NSData class];" nouns:self, [NSData class]];
>
>
So I don't see how anything could happen to the string constant I feed.
I didn't say it was *that* string. I said it was *a* string. When there's a retain error and a string vanishes, string pointers can shift down and start pointing at the wrong thing. Sometimes it's another string. Sometimes it's garbage. m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.