]> granicus.if.org Git - gc/commit
Code refactoring of GC_x_printf (move shared code to macro)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 19 Jul 2012 09:48:07 +0000 (13:48 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 20 Jul 2012 06:47:57 +0000 (10:47 +0400)
commit035af2671bf789a69b4a63d52bbaa38305fe60d4
tree08c7c39372984f9384704cff84772b2fd83518a0
parent8268c21dfa27135a9f8164182681e161d4dbd847
Code refactoring of GC_x_printf (move shared code to macro)

* misc.c (GC_PRINTF_IMPL): New macro (used by GC_[err/log_]printf
only); copy code from GC_err_printf parametrizing output stream.
* misc.c (GC_printf, GC_err_printf, GC_log_printf): Replace shared
code with GC_PRINTF_IMPL macro usage.
misc.c