Actually you can write a wrapper for anything
as far as it doesn't look like a patch :=)

Michael


-----Original Message-----
From: Ben Combee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 28 November 2001 5:16 PM
To: Palm Developer Forum
Subject: Re: BTW, about MemHandleResize


"Michael Glickman" <[EMAIL PROTECTED]> wrote in message
news:69216@palm-dev-forum...
>
> BTW, I would like MemMgr resize commands to work
> similarly to UNIX resize: if the original handle/pointer
> is zero the memory is created, otherwise it is resized.
>
> It will save a lot of space in app programs!

It is too late to change the Palm OS API.

However, it is really easy to write a wrapper function around
MemPtrNew/MemPtrResize which does what you want.



-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to