ViennaSHE
1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
error.h
Go to the documentation of this file.
1
/* ============================================================================
2
Copyright (c) 2011-2022, Institute for Microelectronics,
3
Institute for Analysis and Scientific Computing,
4
TU Wien.
5
6
-----------------
7
ViennaSHE - The Vienna Spherical Harmonics Expansion Boltzmann Solver
8
-----------------
9
10
http://viennashe.sourceforge.net/
11
12
License: MIT (X11), see file LICENSE in the base directory
13
=============================================================================== */
14
15
#include "
libviennashe/include/sys.h
"
16
17
#ifndef LIBVIENNASHE_ERROR_H
18
#define LIBVIENNASHE_ERROR_H
19
20
#ifdef __cplusplus
21
extern
"C"
22
{
23
#endif
24
25
typedef
int
viennasheErrorCode
;
28
VIENNASHE_EXPORT
viennasheErrorCode
viennashe_error
(
viennasheErrorCode
ecode);
29
30
#define LIBVIENNASHE_CHKERR(x) if((x)) return viennashe_error((x));
31
#define LIBVIENNASHE_NO_ERROR 0
32
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#endif
/* LIBVIENNASHE_ERROR_H */
38
viennashe_error
VIENNASHE_EXPORT viennasheErrorCode viennashe_error(viennasheErrorCode ecode)
Error code interpretation function.
viennasheErrorCode
int viennasheErrorCode
Definition:
error.h:25
sys.h
VIENNASHE_EXPORT
#define VIENNASHE_EXPORT
Definition:
sys.h:19
libviennashe
include
error.h
Generated on Wed May 4 2022 14:08:51 for ViennaSHE by
1.9.3