Cantera  3.2.0a2
Loading...
Searching...
No Matches
include/cantera/clib/clib_defs.h File Reference
#include "cantera/base/config.h"
#include <stdlib.h>
Include dependency graph for include/cantera/clib/clib_defs.h:

Detailed Description

Deprecated:
Deprecated in Cantera 3.2 and to be removed thereafter. The legacy CLib is superseded by the generated CLib.

Definition in file include/cantera/clib/clib_defs.h.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CLIB_DEFS_H
 
#define CANTERA_CAPI
 
#define ERR   -999
 
#define DERR   -999.999
 

Typedefs

typedef void(* LogCallback) (enum LogLevel logLevel, const char *category, const char *message)
 Represents a callback that is invoked to produce log output.
 

Enumerations

enum  LogLevel { INFO , WARN , ERROR }
 

Macro Definition Documentation

◆ CLIB_DEFS_H

#define CLIB_DEFS_H

Definition at line 12 of file include/cantera/clib/clib_defs.h.

◆ CANTERA_CAPI

#define CANTERA_CAPI

Definition at line 20 of file include/cantera/clib/clib_defs.h.

◆ ERR

#define ERR   -999

Definition at line 24 of file include/cantera/clib/clib_defs.h.

◆ DERR

#define DERR   -999.999

Definition at line 28 of file include/cantera/clib/clib_defs.h.

Typedef Documentation

◆ LogCallback

typedef void(* LogCallback) (enum LogLevel logLevel, const char *category, const char *message)

Represents a callback that is invoked to produce log output.

TODO: Only needed in the main CLib library. Should be moved once the legacy CLib is removed.

Definition at line 37 of file include/cantera/clib/clib_defs.h.

Enumeration Type Documentation

◆ LogLevel

enum LogLevel

Definition at line 32 of file include/cantera/clib/clib_defs.h.