File: debug.h

package info (click to toggle)
arj 3.10.22-13
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,352 kB
  • ctags: 4,701
  • sloc: ansic: 32,990; makefile: 2,034; sh: 1,547; asm: 436
file content (20 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * $Id: debug.h,v 1.1.1.1 2002/03/28 00:02:10 andrew_belov Exp $
 * ---------------------------------------------------------------------------
 * Prototypes of the functions located in DEBUG.C are declared here.
 *
 */

#ifndef DEBUG_INCLUDED
#define DEBUG_INCLUDED

/* Prototypes */

#ifdef DEBUG
int debug_report(char *module, unsigned int line, char sign);
#define debug_assert(f) if(!(f)) debug_report(dbg_cur_file, __LINE__, 'A')
#else
#define debug_assert(f)
#endif

#endif