Skip to content

Commit

Permalink
removed unnessary __declspec(dllexport) declaration, wanda api is bui…
Browse files Browse the repository at this point in the history
…ld as a static lib
  • Loading branch information
MichielTukker committed Jun 14, 2024
1 parent 82590cd commit 5f0c44d
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 10 deletions.
3 changes: 2 additions & 1 deletion libs/wanda_api/include/deltares_helper_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
#include <format>

#ifdef WANDAMODEL_EXPORT
#define WANDAMODEL_API __declspec(dllexport)
// #define WANDAMODEL_API __declspec(dllexport)
#define WANDAMODEL_API
#else
#define WANDAMODEL_API __declspec(dllimport)
#endif
Expand Down
3 changes: 2 additions & 1 deletion libs/wanda_api/include/nefis_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
#include <memory>

#ifdef WANDAMODEL_EXPORT
#define WANDAMODEL_API __declspec(dllexport)
// #define WANDAMODEL_API __declspec(dllexport)
#define WANDAMODEL_API
#else
#define WANDAMODEL_API __declspec(dllimport)
#endif
Expand Down
3 changes: 2 additions & 1 deletion libs/wanda_api/include/wanda_engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
#include <wandamodel.h>

#ifdef WANDAMODEL_EXPORT
#define WANDAMODEL_API __declspec(dllexport)
// #define WANDAMODEL_API __declspec(dllexport)
#define WANDAMODEL_API
#else
#define WANDAMODEL_API __declspec(dllimport)
#endif
Expand Down
3 changes: 2 additions & 1 deletion libs/wanda_api/include/wanda_item.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
#include <wanda_diagram_lines.h>

#ifdef WANDAMODEL_EXPORT
#define WANDAMODEL_API __declspec(dllexport)
// #define WANDAMODEL_API __declspec(dllexport)
#define WANDAMODEL_API
#else
#define WANDAMODEL_API __declspec(dllimport)
#endif
Expand Down
3 changes: 2 additions & 1 deletion libs/wanda_api/include/wanda_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#include <string>

#ifdef WANDAMODEL_EXPORT
#define WANDAMODEL_API __declspec(dllexport)
// #define WANDAMODEL_API __declspec(dllexport)
#define WANDAMODEL_API
#else
#define WANDAMODEL_API __declspec(dllimport)
#endif
Expand Down
3 changes: 2 additions & 1 deletion libs/wanda_api/include/wandacomponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#include <wanda_item.h>

#ifdef WANDAMODEL_EXPORT
#define WANDAMODEL_API __declspec(dllexport)
// #define WANDAMODEL_API __declspec(dllexport)
#define WANDAMODEL_API
#else
#define WANDAMODEL_API __declspec(dllimport)
#endif
Expand Down
3 changes: 2 additions & 1 deletion libs/wanda_api/include/wandamodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
#include <diagram_text_box.h>

#ifdef WANDAMODEL_EXPORT
#define WANDAMODEL_API __declspec(dllexport)
// #define WANDAMODEL_API __declspec(dllexport)
#define WANDAMODEL_API
#else
#define WANDAMODEL_API __declspec(dllimport)
#endif
Expand Down
4 changes: 3 additions & 1 deletion libs/wanda_api/include/wandanode.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#include <wanda_item.h>

#ifdef WANDAMODEL_EXPORT
#define WANDAMODEL_API __declspec(dllexport)
// #define WANDAMODEL_API __declspec(dllexport)
#define WANDAMODEL_API

#else
#define WANDAMODEL_API __declspec(dllimport)
#endif
Expand Down
3 changes: 2 additions & 1 deletion libs/wanda_api/include/wandaproperty.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
#include <wanda_table.h>

#ifdef WANDAMODEL_EXPORT
#define WANDAMODEL_API __declspec(dllexport)
// #define WANDAMODEL_API __declspec(dllexport)
#define WANDAMODEL_API
#else
#define WANDAMODEL_API __declspec(dllimport)
#endif
Expand Down
3 changes: 2 additions & 1 deletion libs/wanda_api/include/wandasigline.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#include <wanda_item.h>

#ifdef WANDAMODEL_EXPORT
#define WANDAMODEL_API __declspec(dllexport)
// #define WANDAMODEL_API __declspec(dllexport)
#define WANDAMODEL_API
#else
#define WANDAMODEL_API __declspec(dllimport)
#endif
Expand Down

0 comments on commit 5f0c44d

Please sign in to comment.