Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



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 template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy