core/vul/vul_trace.h
Go to the documentation of this file.
00001 // This is core/vul/vul_trace.h
00002 #ifndef vul_trace_h_
00003 #define vul_trace_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \brief writes out file, line to stderr.
00010 // \author fsm
00011 //
00012 
00013 //: writes out file, line to stderr and flushes.
00014 void vul_trace_function(char const *file, int line);
00015 
00016 // recompile with DEFINES=-DVBL_TRACE
00017 #if defined(VBL_TRACE)
00018 # define vul_trace vul_trace_function(__FILE__, __LINE__)
00019 #else
00020 # define vul_trace /* */
00021 #endif
00022 
00023 #endif // vul_trace_h_