diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-02-14 04:55:19 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-02-14 04:55:19 (GMT) |
commit | d5019a964e376e8ad0ad398cc4cfb3d97509402d (patch) | |
tree | 0cb9b316ff1aff9a7befec2b6630f93746776d1b /src/printutils.h | |
parent | c1b1d0992f78ecafb4212994207ee7cc7cbb6b39 (diff) |
deal with test suite issues under mingw-cross compile and wine
Diffstat (limited to 'src/printutils.h')
-rw-r--r-- | src/printutils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/printutils.h b/src/printutils.h index 9d99a19..439c884 100644 --- a/src/printutils.h +++ b/src/printutils.h @@ -22,6 +22,9 @@ void PRINT(const std::string &msg); void PRINT_NOCACHE(const std::string &msg); #define PRINTB_NOCACHE(_fmt, _arg) do { PRINT_NOCACHE(str(boost::format(_fmt) % _arg)); } while (0) +std::string two_digit_exp_format( std::string doublestr ); +std::string two_digit_exp_format( double x ); + // extremely simple logging, eventually replace with something like boost.log // usage: logstream out(5); openscad_loglevel=6; out << "hi"; static int openscad_loglevel = 0; |