Line data Source code
1 : // This file (example_obj.cc) was created by Ron Rechenmacher <ron@fnal.gov> on
2 : // Mar 12, 2014. "TERMS AND CONDITIONS" governing this file are in the README
3 : // or COPYING file. If you do not have such a file, one can be obtained by
4 : // contacting Ron or Fermi Lab in Batavia IL, 60510, phone: 630-840-3000.
5 : // $RCSfile: example_sub1.cc,v $
6 : // rev="$Revision: 1784 $$Date: 2026-10-09 13:51:46 -0500 (Fri, 09 Oct 2026) $";
7 :
8 : #define TRACE_NAME strcpy(buffer, "example_sub1")
9 : static char buffer[15]; // NOLINT
10 : #include "TRACE/trace.h"
11 :
12 : void example_sub2(void);
13 :
14 0 : void example_sub1(void)
15 : {
16 0 : TRACE(2, "hello from example_sub1() before calling example_sub2()");
17 0 : example_sub2();
18 0 : TLOG(2) << "hello from example_sub1() after calling example_sub2()";
19 0 : }
|