20 #include <lal/LALStdlib.h>
21 #include <lal/LALGSL.h>
22 #include <gsl/gsl_errno.h>
25 #ifdef LAL_PTHREAD_LOCK
27 pthread_mutex_t lalGSLPthreadMutex = PTHREAD_MUTEX_INITIALIZER;
31 #define UNUSED __attribute__ ((unused))
71 const char *
file,
int line,
int my_gsl_error)
75 (
"Abort: function LALGSLErrorHandler, file %s, line %d, %s\n"
76 " Null global status pointer\n", __FILE__, __LINE__,
void(* lalAbortHook)(const char *,...)
#define LALError(statusptr, statement)
#define LALTrace(statusptr, exitflg)
LALStatus * lalGSLGlobalStatusPtr
#define INITSTATUS(statusptr)
void LALGSLErrorHandler(UNUSED const char *reason, const char *file, int line, int my_gsl_error)
LAL GSL error handler.
LAL status structure, see The LALStatus structure for more details.
const CHAR * file
The name of the source file containing the function code.
INT4 statusCode
A numerical code identifying the type of error, or 0 for nominal status; Negative values are reserved...
const CHAR * statusDescription
An explanatory string corresponding to the numerical status code.
struct tagLALStatus * statusPtr
Pointer to the next node in the list; NULL if this function is not reporting a subroutine error.
INT4 line
The line number in the source file where the current statusCode was set.