GNUstep does in fact support release and autorelease (it's the GPL
version of Cocoa), just for some reason, the default implementation
of NXConstantString doesn't respond to it at all.
NXConstantString isn't part of GNUstep, it's (as b.bum described)
associated with the GNU objective-c runtime and is the default class
for constant strings. However, GNUstep-make does something like this:
the important bit of which is -fconstant-string-
class=NSConstantString. So a _GNUstep_ program actually uses
NSConstantString as the class for constant strings. NXConstantString
and NSConstantString have the same in-memory layout, but
NSConstantString is a subclass of NSString so inherits the NSString
API, so it does respond to release or autorelease (why release a
constant string though?).
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden