mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
Eliminate obsolete CANTERA_USE_INTERNAL
This commit is contained in:
parent
076dff7462
commit
e428489656
@ -11,21 +11,10 @@
|
||||
#include "cantera/base/config.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
// Windows (MSVC or MinGW)
|
||||
# ifdef CANTERA_USE_INTERNAL
|
||||
# define CANTERA_CAPI extern __declspec(dllexport)
|
||||
# else
|
||||
# define CANTERA_CAPI extern __declspec(dllimport)
|
||||
# endif
|
||||
#else
|
||||
// Non-Windows platform
|
||||
# ifdef CANTERA_USE_INTERNAL
|
||||
# define CANTERA_CAPI extern
|
||||
# else
|
||||
# define CANTERA_CAPI
|
||||
# endif
|
||||
#endif
|
||||
// Legacy attribute applied to clib functions. Currently, used only to identify
|
||||
// functions that should be considered by the 'sourcegen' parser for inclusion in the
|
||||
// C# interface.
|
||||
#define CANTERA_CAPI
|
||||
|
||||
// Values returned for error conditions
|
||||
#ifndef ERR
|
||||
|
@ -7,9 +7,6 @@
|
||||
#include "cantera/numerics/Func1.h"
|
||||
#include "cantera/base/ctexceptions.h"
|
||||
#include <stdexcept>
|
||||
|
||||
#define CANTERA_USE_INTERNAL
|
||||
#include "cantera/clib/clib_defs.h"
|
||||
#include "Python.h"
|
||||
|
||||
typedef double(*callback_wrapper)(double, void*, void**);
|
||||
@ -166,7 +163,7 @@ private:
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
CANTERA_CAPI PyObject* pyCanteraError;
|
||||
extern PyObject* pyCanteraError;
|
||||
}
|
||||
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
// This file is part of Cantera. See License.txt in the top-level directory or
|
||||
// at https://cantera.org/license.txt for license and copyright information.
|
||||
|
||||
#define CANTERA_USE_INTERNAL
|
||||
#include "cantera/clib/ct.h"
|
||||
|
||||
// Cantera includes
|
||||
|
@ -5,7 +5,6 @@
|
||||
// This file is part of Cantera. See License.txt in the top-level directory or
|
||||
// at https://cantera.org/license.txt for license and copyright information.
|
||||
|
||||
#define CANTERA_USE_INTERNAL
|
||||
#include "cantera/clib/ctfunc.h"
|
||||
|
||||
#include "cantera/numerics/Func1.h"
|
||||
|
@ -5,7 +5,6 @@
|
||||
// This file is part of Cantera. See License.txt in the top-level directory or
|
||||
// at https://cantera.org/license.txt for license and copyright information.
|
||||
|
||||
#define CANTERA_USE_INTERNAL
|
||||
#include "cantera/clib/ctmultiphase.h"
|
||||
|
||||
// Cantera includes
|
||||
|
@ -5,7 +5,6 @@
|
||||
// This file is part of Cantera. See License.txt in the top-level directory or
|
||||
// at https://cantera.org/license.txt for license and copyright information.
|
||||
|
||||
#define CANTERA_USE_INTERNAL
|
||||
#include "cantera/clib/ctonedim.h"
|
||||
|
||||
// Cantera includes
|
||||
|
@ -5,7 +5,6 @@
|
||||
// This file is part of Cantera. See License.txt in the top-level directory or
|
||||
// at https://cantera.org/license.txt for license and copyright information.
|
||||
|
||||
#define CANTERA_USE_INTERNAL
|
||||
#include "cantera/clib/ctreactor.h"
|
||||
|
||||
// Cantera includes
|
||||
|
@ -5,7 +5,6 @@
|
||||
// This file is part of Cantera. See License.txt in the top-level directory or
|
||||
// at https://cantera.org/license.txt for license and copyright information.
|
||||
|
||||
#define CANTERA_USE_INTERNAL
|
||||
#include "cantera/clib/ctrpath.h"
|
||||
|
||||
// Cantera includes
|
||||
|
@ -6,7 +6,6 @@
|
||||
// at https://cantera.org/license.txt for license and copyright information.
|
||||
|
||||
// clib header information
|
||||
#define CANTERA_USE_INTERNAL
|
||||
#include "cantera/clib/ctsurf.h"
|
||||
|
||||
// Cantera includes
|
||||
|
Loading…
Reference in New Issue
Block a user