aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-12-12 17:06:16 +0000
committerMike Buland <eichlan@xagasoft.com>2007-12-12 17:06:16 +0000
commit7eb00b6d3037a7e30c326b43e23502f777b92eb6 (patch)
tree60013b086b3682c68192ad2ac8337e221ec9eba9 /src/tests
parentba4167f75c8f7ba8726132eed94af3ae6cd38eee (diff)
downloadlibbu++-7eb00b6d3037a7e30c326b43e23502f777b92eb6.tar.gz
libbu++-7eb00b6d3037a7e30c326b43e23502f777b92eb6.tar.bz2
libbu++-7eb00b6d3037a7e30c326b43e23502f777b92eb6.tar.xz
libbu++-7eb00b6d3037a7e30c326b43e23502f777b92eb6.zip
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.
Diffstat (limited to '')
-rw-r--r--src/tests/tracer.cpp3
1 files changed, 2 insertions, 1 deletions
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 )
12 TRACE( x, bob ); 12 TRACE( x, bob );
13} 13}
14 14
15void doThing( int x ) 15void doThing( int8_t x )
16{ 16{
17 TRACE( x ); 17 TRACE( x );
18} 18}
19 19
20int main( int argc, char *argv[] ) 20int main( int argc, char *argv[] )
21{ 21{
22 TRACE( argc, argv );
22 doThing( 54 ); 23 doThing( 54 );
23 doThing2( 128, "Hello" ); 24 doThing2( 128, "Hello" );
24 doThing3( 266, "Goodbye", argv ); 25 doThing3( 266, "Goodbye", argv );