Re: Inconsistent Memory Management Rules
Re: Inconsistent Memory Management Rules
- Subject: Re: Inconsistent Memory Management Rules
- From: Sherm Pendley <email@hidden>
- Date: Wed, 16 Apr 2003 01:38:06 -0400
On Tuesday, April 15, 2003, at 07:24 PM, Denis Stanton wrote:
OK, so there has to be a previous declaration. What does it look like?
In my limited knowledge I can only think it would consist of the line
NSString * string = [[NSString alloc] init]
The above combines declaration and initialization. The declaration by
itself would be:
NSString *string;
The Jaguar dev tools include GCC3, which supports the C99 standard and
allows you to declare variables anywhere. Older dev tools use GCC2,
which requires declarations to appear at the top of a function or
method, before any executable code.
sherm--
UNIX: Where /sbin/init is Job 1.
_______________________________________________
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.