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

Adrian Lienhard adi at netstyle.ch
Sat Aug 22 15:23:40 UTC 2009


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.

[...]

Cheers,
Adrian



More information about the Squeak-dev mailing list