Cantera
2.6.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
Enumerations
Related Functions
Files
File List
File Members
All
a
b
c
e
f
i
m
n
p
r
s
t
v
w
x
Functions
Variables
Macros
a
c
e
f
m
n
p
s
t
v
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
include
cantera
clib
clib_defs.h
Go to the documentation of this file.
1
/**
2
* @file clib_defs.h
3
*/
4
5
// This file is part of Cantera. See License.txt in the top-level directory or
6
// at https://cantera.org/license.txt for license and copyright information.
7
8
#ifndef CTC_DEFS_H
9
#define CTC_DEFS_H
10
11
#include "cantera/base/config.h"
12
#include <stdlib.h>
13
14
#ifdef _WIN32
15
// Windows (MSVC or MinGW)
16
# ifdef CANTERA_USE_INTERNAL
17
# define CANTERA_CAPI extern __declspec(dllexport)
18
# else
19
# define CANTERA_CAPI extern __declspec(dllimport)
20
# endif
21
#else
22
// Non-Windows platform
23
# ifdef CANTERA_USE_INTERNAL
24
# define CANTERA_CAPI extern
25
# else
26
# define CANTERA_CAPI
27
# endif
28
#endif
29
30
// Values returned for error conditions
31
#ifndef ERR
32
# define ERR -999
33
#endif
34
35
#ifndef DERR
36
# define DERR -999.999
37
#endif
38
39
#endif
Generated by
1.9.2