aboutsummaryrefslogtreecommitdiff
path: root/src/tests/tracer.cpp
blob: a57edf6c1623beed29ea381b2780b7a2e4786481 (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
29

#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( int8_t x )
{
	TRACE( x );
}

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

	return 0;
}