ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
error.h File Reference

Go to the source code of this file.

Macros

#define LIBVIENNASHE_CHKERR(x)   if((x)) return viennashe_error((x));
 
#define LIBVIENNASHE_NO_ERROR   0
 

Typedefs

typedef int viennasheErrorCode
 

Functions

VIENNASHE_EXPORT viennasheErrorCode viennashe_error (viennasheErrorCode ecode)
 Error code interpretation function. More...
 

Macro Definition Documentation

◆ LIBVIENNASHE_CHKERR

#define LIBVIENNASHE_CHKERR (   x)    if((x)) return viennashe_error((x));

Definition at line 30 of file error.h.

◆ LIBVIENNASHE_NO_ERROR

#define LIBVIENNASHE_NO_ERROR   0

Definition at line 31 of file error.h.

Typedef Documentation

◆ viennasheErrorCode

typedef int viennasheErrorCode

Definition at line 25 of file error.h.

Function Documentation

◆ viennashe_error()

Error code interpretation function.

The error code type