discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about core/base/Old/LinkedList.m (prehistory)


From: Erik M. Buck
Subject: Re: question about core/base/Old/LinkedList.m (prehistory)
Date: Sat, 10 Nov 2001 14:51:11 -0600

LinkedList.m predates the introduction of reference counted memory
management.  LinkedList.m  is similar to the class with the same name from
NeXTstep 3.3 and prior.  It is no doubt preserved so that old code will
work.

----- Original Message -----
From: "Matej Kosik" <kosikmat@decef.elf.stuba.sk>
To: <discuss-gnustep@gnu.org>
Sent: Saturday, November 10, 2001 2:41 PM
Subject: question about core/base/Old/LinkedList.m (prehistory)


> Hi,
>
> Even though libgnustep* seem not to be using any of the classes
> defined in `core/base/Old' directory, these files were not thrown away
> from cvs so I think I can still ask the following thing:
>
> I don't understand why in `core/base/Old/LinkedList.m' I do not find
> any method which releases the particular `LinkedListNode' objects
> belonging to that list. (???)
>
> should there be something like this?
>
> ----------------------------------------------------
> - dealloc
> {
>         LinkedListNode* link;
>
>         FOR_COLLECTION (self, link)
>         {
>                 RELEASE(link);
>         }
>         END_FOR_COLLECTION (self);
> }
> ----------------------------------------------------
>
> Matej Kosik
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/discuss-gnustep
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]