Loading [MathJax]/extensions/tex2jax.js
Cantera
3.0.0
Toggle main menu visibility
Developer API
Modules
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
j
k
l
m
n
o
p
q
r
s
t
v
w
x
Typedefs
Enumerations
Related Symbols
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
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
v
w
Variables
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
a
b
c
e
f
k
l
m
n
p
s
t
v
w
x
Functions
Variables
Typedefs
Macros
a
c
e
f
m
n
p
s
t
v
x
Related Pages
cantera.org
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
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
// Legacy attribute applied to clib functions. Currently, used only to identify
15
// functions that should be considered by the 'sourcegen' parser for inclusion in the
16
// C# interface.
17
#define CANTERA_CAPI
18
19
// Values returned for error conditions
20
#ifndef ERR
21
# define ERR -999
22
#endif
23
24
#ifndef DERR
25
# define DERR -999.999
26
#endif
27
28
// Used by external logger
29
enum
LogLevel { INFO, WARN , ERROR };
30
31
//! Represents a callback that is invoked to produce log output.
32
typedef
void
33
(*
LogCallback
)(
enum
LogLevel logLevel,
const
char
* category,
const
char
* message);
34
35
#endif
LogCallback
void(* LogCallback)(enum LogLevel logLevel, const char *category, const char *message)
Represents a callback that is invoked to produce log output.
Definition
clib_defs.h:33
include
cantera
clib
clib_defs.h
Generated by
1.9.7