From 7eb00b6d3037a7e30c326b43e23502f777b92eb6 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 12 Dec 2007 17:06:16 +0000 Subject: Corrected some issues with the new trace system. It's now working fine. It's backword compatible, and the new features are a lot of fun. Since it uses template functions you can add any new variable types to be formatted. --- src/tests/tracer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tests/tracer.cpp') diff --git a/src/tests/tracer.cpp b/src/tests/tracer.cpp index 52ce0d7..a57edf6 100644 --- a/src/tests/tracer.cpp +++ b/src/tests/tracer.cpp @@ -12,13 +12,14 @@ void doThing2( int x, const char *bob ) TRACE( x, bob ); } -void doThing( int x ) +void doThing( int8_t x ) { TRACE( x ); } int main( int argc, char *argv[] ) { + TRACE( argc, argv ); doThing( 54 ); doThing2( 128, "Hello" ); doThing3( 266, "Goodbye", argv ); -- cgit v1.2.3