aboutsummaryrefslogtreecommitdiff
path: root/src/tests/tracer.cpp
blob: 52ce0d7aaf5fc575fcb79a129ce9e520196945cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

#define BU_TRACE
#include "bu/trace.h"

void doThing3( int x, const char *bob, void *p )
{
	TRACE( x, bob, p );
}

void doThing2( int x, const char *bob )
{
	TRACE( x, bob );
}

void doThing( int x )
{
	TRACE( x );
}

int main( int argc, char *argv[] )
{
	doThing( 54 );
	doThing2( 128, "Hello" );
	doThing3( 266, "Goodbye", argv );

	return 0;
}