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

Re: [MacPerl] bug or feature in Mac::Memory::set (?)



Kevin Walker <kwalker@euclid.ucsd.edu> writes:
>
>  use Mac::Memory;
>
>  <fontfamily><param>Monaco</param>$hs = new Handle("This string will
>now exist in hyperspace");
>
>  $hs->set(5, 6, "datum");   # shortens content of handle 
>
>
>The call to 'set' doesn't seem to call 'SetHandleSize' to reflect the
>new size of the handle.  Is this the way 'set' is intended to work?  Or
>is it a bug?

It's the way *I* intended it to work, at least :-)

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "One fine day in my odd past..." -- Pixies, _Planet of Sound_

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch