Loading [MathJax]/extensions/tex2jax.js
Cantera
3.1.0
Install
User Guide
Examples
Reference
Develop
Community
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
y
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
y
z
~
Variables
a
b
c
d
e
f
g
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
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
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
* @warning This module is an experimental part of the %Cantera API and
5
* may be changed or removed without notice.
6
*/
7
8
// This file is part of Cantera. See License.txt in the top-level directory or
9
// at https://cantera.org/license.txt for license and copyright information.
10
11
#ifndef CTC_DEFS_H
12
#define CTC_DEFS_H
13
14
#include "cantera/base/config.h"
15
#include <stdlib.h>
16
17
// Legacy attribute applied to clib functions. Currently, used only to identify
18
// functions that should be considered by the 'sourcegen' parser for inclusion in the
19
// C# interface.
20
#define CANTERA_CAPI
21
22
// Values returned for error conditions
23
#ifndef ERR
24
# define ERR -999
25
#endif
26
27
#ifndef DERR
28
# define DERR -999.999
29
#endif
30
31
// Used by external logger
32
enum
LogLevel { INFO, WARN , ERROR };
33
34
//! Represents a callback that is invoked to produce log output.
35
typedef
void
36
(*
LogCallback
)(
enum
LogLevel logLevel,
const
char
* category,
const
char
* message);
37
38
#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:36
include
cantera
clib
clib_defs.h
Generated by
1.9.7