#include <stdio.h>
#include <falcon/setup.h>
Go to the source code of this file.
Defines | |
#define | MESSAGE(fmt) if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: " fmt "\n", __FILE__, __LINE__ ); |
#define | TRACE(fmt,...) if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: " fmt "\n", __FILE__, __LINE__, __VA_ARGS__ ); |
#define | TRACE_OFF fclose(_falcon_trace_fp); _falcon_trace_fp = 0; |
#define | TRACE_ON(name) _falcon_trace_fp = fopen( name, "w" ); |
#define | TRACEVAR(type, var) if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: %s=%" type "\n", __FILE__, __LINE__, #var, var ); |
Variables | |
FALCON_DYN_SYM FILE * | _falcon_trace_fp |
#define MESSAGE | ( | fmt | ) | if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: " fmt "\n", __FILE__, __LINE__ ); |
#define TRACE | ( | fmt, | |||
... | ) | if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: " fmt "\n", __FILE__, __LINE__, __VA_ARGS__ ); |
#define TRACE_OFF fclose(_falcon_trace_fp); _falcon_trace_fp = 0; |
#define TRACE_ON | ( | name | ) | _falcon_trace_fp = fopen( name, "w" ); |
#define TRACEVAR | ( | type, | |||
var | ) | if( _falcon_trace_fp != 0 ) fprintf( _falcon_trace_fp, "%s:%d: %s=%" type "\n", __FILE__, __LINE__, #var, var ); |
FALCON_DYN_SYM FILE* _falcon_trace_fp |