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

  • From: looncraz <looncraz@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 30 Nov 2012 12:48:14 -0800

That's easy to say if all you want to do is print a number, but
doesn't scale very well for longer strings containing a mix of types.

Regards,

Rene


printf32 could just parse the format string and make the necessary adjustments then send it on its way.

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

You would just define macros for your prints statements and have it alternate between printf32 or printf depending on the platform.. and voila, you're done...

--The loon

Other related posts: