Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Rockbox mail archive

Subject: 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...

Peter
Received on 2007-04-16


Page was last modified "Mar 9 2008" The Rockbox Crew