NAME

NR - (MACRO) Returns (void) if its argument is NULL.

SYNOPSIS

#include "l/l_error.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


void NR(int);

DESCRIPTION

This macro becomes a simple return if its argument is NULL. It is a convenient quick return that makes sense in the KJB library, but be careful about cleanup! Often code with NR()'s will leak memory on failure which is acceptable if the failure is rare, but this should be documented. Further, if the debug level is greater than 0, then a message is added to the list of messages using add_errror(); That line is:
    (NR on line [line] of [file].

DISCLAIMER This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTER

Kobus Barnard

SEE ALSO

NOTE_ERROR , EGC , ERE , ERN , ER , EPE , ETE , EPETE , EPETE , ESBRE , BATCH_EPETE , NRE , NGC , NRN , NPE , NTE , NPETE , NPETE