NCBI C++ ToolKit
Macros
Debug Macros
+ Collaboration diagram for Debug Macros:

Macros

#define MDB_DEBUG   0
 Enable debug output. More...
 
#define DPRINTF(args)   ((void) 0)
 
#define DPUTS(arg)   DPRINTF(("%s", arg))
 Print a debug string. More...
 
#define DDBI(mc)    (((mc)->mc_flags & C_SUB) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)
 Debuging output value of a cursor DBI: Negative in a sub-cursor. More...
 

Detailed Description

Macro Definition Documentation

◆ DDBI

#define DDBI (   mc)     (((mc)->mc_flags & C_SUB) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)

Debuging output value of a cursor DBI: Negative in a sub-cursor.

Definition at line 500 of file mdb.c.

◆ DPRINTF

#define DPRINTF (   args)    ((void) 0)

Definition at line 493 of file mdb.c.

◆ DPUTS

#define DPUTS (   arg)    DPRINTF(("%s", arg))

Print a debug string.

The string is printed literally, with no format processing.

Definition at line 498 of file mdb.c.

◆ MDB_DEBUG

#define MDB_DEBUG   0

Enable debug output.

Needs variable argument macros (a C99 feature). Set this to 1 for copious tracing. Set to 2 to add dumps of all IDLs read from and written to the database (used for free space management).

Definition at line 479 of file mdb.c.

Modified on Tue Apr 23 07:40:18 2024 by modify_doxy.py rev. 669887