[Vm-dev] byteSizeOf: is that correct for 64bit images? Also what about the (sqInt)(long)

David T. Lewis lewis at mail.msen.com
Mon Dec 21 02:30:28 UTC 2009


On Sun, Dec 20, 2009 at 06:11:11PM -0800, John M McIntosh wrote:
> 
> On 2009-12-20, at 5:42 PM, David T. Lewis wrote:
> 
> >> BytesPerWord
> 
> Careful, this is a class var. 
> 
> This does not work on external plugins, so I think you'll find the proper pattern is 
> 
> self bytesPerWord   which does the right thing if the code is in a plugin versus  ObjectMemory or subclass of. 

Indeed. Thanks John.
 


More information about the Vm-dev mailing list