[squeak-dev] Re: Newbie Question (about OOPs, maybe) (sorry)

Bert Freudenberg bert at freudenbergs.de
Sat Aug 22 15:49:42 UTC 2009


On 22.08.2009, at 17:23, Adrian Lienhard wrote:

>
> On Aug 22, 2009, at 17:06 , Bert Freudenberg wrote:
>
>>
>> On 22.08.2009, at 13:15, Adrian Lienhard wrote:
>>
>>> Oh, don't use asOop. It is useless as an OID as it changes as soon  
>>> as the GC moves the object in memory... Pointer here really means  
>>> a C pointer.
>>
>> Err, did you not read my explanation further up in this thread?  
>> This is not the case. In Squeak, #asOop is identical to  
>> #identityHash. The comment is wrong.
>
> ups, sorry, I somehow had missed the whole previous thread... And  
> thanks for the correction.


No problem. I just fixed the comment in trunk.

- Bert -





More information about the Squeak-dev mailing list