discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Is the implementation of DPSsetgstate: in GSContext correct?


From: Adam Fedor
Subject: Re: Is the implementation of DPSsetgstate: in GSContext correct?
Date: 09 Sep 2003 08:36:03 -0600

On Tue, 2003-09-09 at 01:34, Banlu Kemiyatorn wrote:
> So I wonder if it is the right thing that DPSsetgstate: ctxt_pop the 
> value into current gstate
> without copying.
> 
> id aState;
> ctxt_pop(aState...
> gstate = [aState copy];
> RETAIN(gstate);
> 

Yes, that's right (actually without the RETAIN).  I've fixed this.





reply via email to

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