MISR Toolkit  1.5.1
Macros
errormacros.h File Reference
#include <stdio.h>

Go to the source code of this file.

Macros

#define HDFEOS_ERROR_CHECK(msg)
 
#define MEM_ERROR_CHECK(msg)
 
#define MTK_ERROR(msg)
 
#define WRN_LOG_JUMP(msg)   goto ERROR_HANDLE;
 

Macro Definition Documentation

◆ HDFEOS_ERROR_CHECK

#define HDFEOS_ERROR_CHECK (   msg)
Value:
if (hdfeos_status_code == FAIL) { \
fprintf(stderr, "Error: %s at line %d\n", msg, __LINE__); \
exit(1); \
}
#define __LINE__
Definition: herr.h:32
#define FAIL
Definition: hdf.h:94

Definition at line 6 of file errormacros.h.

◆ MEM_ERROR_CHECK

#define MEM_ERROR_CHECK (   msg)
Value:
if (mem_status_code == NULL) { \
fprintf(stderr, "Error: %s at line %d\n", msg, __LINE__); \
exit(1); \
}
#define __LINE__
Definition: herr.h:32

Definition at line 12 of file errormacros.h.

◆ MTK_ERROR

#define MTK_ERROR (   msg)
Value:
{ \
fprintf(stderr, "Error: %s at line %d\n", msg, __LINE__); \
exit(1); \
}
#define __LINE__
Definition: herr.h:32

Definition at line 18 of file errormacros.h.

◆ WRN_LOG_JUMP

#define WRN_LOG_JUMP (   msg)    goto ERROR_HANDLE;

Definition at line 32 of file errormacros.h.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53