Merging latest from dev, trying to get import lib generated
This commit is contained in:
@@ -128,6 +128,8 @@ Public Const EN_ACCURACY = 1
|
||||
Public Const EN_TOLERANCE = 2
|
||||
Public Const EN_EMITEXPON = 3
|
||||
Public Const EN_DEMANDMULT = 4
|
||||
Public Const EN_HEADERROR = 5
|
||||
Public Const EN_FLOWCHANGE = 6
|
||||
|
||||
Public Const EN_LOWLEVEL = 0 ' Control types
|
||||
Public Const EN_HILEVEL = 1
|
||||
|
||||
@@ -30,36 +30,37 @@
|
||||
#define EN_API_FLOAT_TYPE float
|
||||
#endif
|
||||
|
||||
// --- define WINDOWS
|
||||
#undef WINDOWS
|
||||
#ifdef _WIN32
|
||||
#define WINDOWS
|
||||
#endif
|
||||
#ifdef __WIN32__
|
||||
#define WINDOWS
|
||||
#endif
|
||||
// // --- define WINDOWS
|
||||
// #undef WINDOWS
|
||||
// #ifdef _WIN32
|
||||
// #define WINDOWS
|
||||
// #endif
|
||||
// #ifdef __WIN32__
|
||||
// #define WINDOWS
|
||||
// #endif
|
||||
|
||||
// --- define DLLEXPORT
|
||||
#ifndef DLLEXPORT
|
||||
#ifdef WINDOWS
|
||||
#ifdef __cplusplus
|
||||
#define DLLEXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define DLLEXPORT __declspec(dllexport) __stdcall
|
||||
#endif // __cplusplus
|
||||
#elif defined(CYGWIN)
|
||||
#define DLLEXPORT __stdcall
|
||||
#elif defined(__APPLE__)
|
||||
#ifdef __cplusplus
|
||||
#define DLLEXPORT
|
||||
#else
|
||||
#define DLLEXPORT
|
||||
#endif
|
||||
#else
|
||||
#define DLLEXPORT
|
||||
#endif
|
||||
#endif
|
||||
// // --- define DLLEXPORT
|
||||
// #ifndef DLLEXPORT
|
||||
// #ifdef WINDOWS
|
||||
// #ifdef __cplusplus
|
||||
// #define DLLEXPORT __declspec(dllexport)
|
||||
// #else
|
||||
// #define DLLEXPORT __declspec(dllexport) __stdcall
|
||||
// #endif // __cplusplus
|
||||
// #elif defined(CYGWIN)
|
||||
// #define DLLEXPORT __stdcall
|
||||
// #elif defined(__APPLE__)
|
||||
// #ifdef __cplusplus
|
||||
// #define DLLEXPORT
|
||||
// #else
|
||||
// #define DLLEXPORT
|
||||
// #endif
|
||||
// #else
|
||||
// #define DLLEXPORT
|
||||
// #endif
|
||||
// #endif
|
||||
|
||||
#include "epanet_export.h"
|
||||
|
||||
// --- Define the EPANET toolkit constants
|
||||
|
||||
@@ -211,7 +212,9 @@ typedef enum {
|
||||
EN_ACCURACY = 1,
|
||||
EN_TOLERANCE = 2,
|
||||
EN_EMITEXPON = 3,
|
||||
EN_DEMANDMULT = 4
|
||||
EN_DEMANDMULT = 4,
|
||||
EN_HEADERROR = 5,
|
||||
EN_FLOWCHANGE = 6
|
||||
} EN_Option;
|
||||
|
||||
typedef enum {
|
||||
|
||||
@@ -121,6 +121,8 @@ Public Const EN_ACCURACY = 1
|
||||
Public Const EN_TOLERANCE = 2
|
||||
Public Const EN_EMITEXPON = 3
|
||||
Public Const EN_DEMANDMULT = 4
|
||||
Public Const EN_HEADERROR = 5
|
||||
Public Const EN_FLOWCHANGE = 6
|
||||
|
||||
Public Const EN_LOWLEVEL = 0 ' Control types
|
||||
Public Const EN_HILEVEL = 1
|
||||
|
||||
Reference in New Issue
Block a user