Rockbox mail archiveSubject: Re: P#7030 closed by petur: Adds the printf format for pointers (%p or %P)
Re: P#7030 closed by petur: Adds the printf format for pointers (%p or %P)
From: Peter D'Hoye <peter.dhoye_at_telenet.be>
Date: Mon, 16 Apr 2007 19:33:40 +0200
> Hey, I really thought about adding something to this effect
> myself since pointers vary depending upon 32/64 bit target.
> Perhaps a cleanup of the formatter could actually result in a
> size reduction and more features at the same time.
Well I tried and while the addition wasn't very big, I figured it wasn't
worth it, as you can pass a pointer along as %lx, which should always be
correct for 32/64 bit.
If you manage to reduce codesize, go ahead, but the gain will be minimal...
Received on 2007-04-16
Page was last modified "Sat May 23 08:12:40 2020" The Rockbox Crew