aboutsummaryrefslogtreecommitdiff
path: root/src/tests/tracer.cpp
blob: c736d9e97458a915ad83b957852bfff2ee9667eb (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
30
31
32
33
34
35
36
/*
 * Copyright (C) 2007-2010 Xagasoft, All rights reserved.
 *
 * This file is part of the libbu++ library and is released under the
 * terms of the license contained in the file LICENSE.
 */


#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;
}