[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HNUstep and Garbage Collection
From: |
Sašo Kiselkov |
Subject: |
Re: HNUstep and Garbage Collection |
Date: |
Wed, 08 Mar 2006 17:14:43 +0100 |
User-agent: |
Internet Messaging Program (IMP) 3.2.5 |
Quoting Adrian Robert <arobert@cogsci.ucsd.edu>:
> Note, however, a quick look at the source shows that the macros
> mentioned here are unneeded -- if GNUstep is compiled with GC, -
> retain and -release impls are #ifdef'd out.
Quoting: Objective-C GNUstep Base Programming Manual, Section 3.2.3, Paragraph 5
> Some authorities recommend that you always use the RETAIN/RELEASE macros in
> place of the actual method calls, in order to allow running in a non-garbage
> collecting GNUstep environment yet also save unneeded method calls in the case
> your code runs in a garbage collecting enviromnent.
So it isn't like they have no purpose at all.
--
Saso