DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
helpers.h File Reference
#include <commons_global.h>

Go to the source code of this file.

Macros

#define outv(l, x)   { if (verbosity >= l) { x; } }
 
#define dout(x)   outv(3,x)
 
#define outc(x)   outv(2,x)
 
#define tout(x)   outv(1,x)
 
#define UNUSED(expr)   do { (void)(expr); } while (0)
 

Variables

int COMMONSSHARED_EXPORT verbosity
 

Macro Definition Documentation

◆ dout

#define dout (   x)    outv(3,x)

◆ outc

#define outc (   x)    outv(2,x)

◆ outv

#define outv (   l,
 
)    { if (verbosity >= l) { x; } }

◆ tout

#define tout (   x)    outv(1,x)

◆ UNUSED

#define UNUSED (   expr)    do { (void)(expr); } while (0)

Variable Documentation

◆ verbosity

int COMMONSSHARED_EXPORT verbosity