[haiku-commits] Re: haiku: hrev44929 - in src: kits/media apps/sudoku

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 30 Nov 2012 16:46:29 -0500

On Fri, Nov 30, 2012 at 3:48 PM, looncraz <looncraz@xxxxxxxxxxx> wrote:
> printf32 could just parse the format string and make the necessary
> adjustments then send it on its way.

So if I have a string that has a 32-bit int, a 64-bit int and a 16-bit
int in it I'd need to do printf32(printf16(printf64(string))); ? No
thanks.

>
> Yes, it is an added layer, but it sure is better than finding all the
> printf() statements, finding each instance where you need to make changes,
> sometimes missing them, sometimes doing it wrong, etc...

....Which you'd need to do anyways to wrap them all in the above.

Sorry, but this approach is a complete mess.

Regards,

Rene

Other related posts: