From 049d95a410500da5ebe905ff6ef9071e5715e9c2 Mon Sep 17 00:00:00 2001 From: munechika-koyo Date: Sat, 14 Feb 2026 14:20:34 +0900 Subject: [PATCH 1/2] Add DLL export symbols for freeDataBlock and ResultList --- source/clientserver/udaStructs.h | 2 +- source/wrappers/c++/client.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/clientserver/udaStructs.h b/source/clientserver/udaStructs.h index af61873e..46424c4c 100755 --- a/source/clientserver/udaStructs.h +++ b/source/clientserver/udaStructs.h @@ -430,7 +430,7 @@ typedef struct Environment { void freeClientPutDataBlockList(PUTDATA_BLOCK_LIST* putDataBlockList); -void freeDataBlock(DATA_BLOCK* data_block); +LIBRARY_API void freeDataBlock(DATA_BLOCK* data_block); void freeDataBlockList(DATA_BLOCK_LIST* data_block_list); diff --git a/source/wrappers/c++/client.hpp b/source/wrappers/c++/client.hpp index 7ae1d747..ea017e0a 100755 --- a/source/wrappers/c++/client.hpp +++ b/source/wrappers/c++/client.hpp @@ -124,7 +124,7 @@ class Result; class Signal; class Client; -class ResultList { +class LIBRARY_API ResultList { public: ResultList(std::unordered_map indices, Client& client); const Result& at(int handle) const; From 52f4ed7f519b9c8f76cc8f906c2eb77408fa2010 Mon Sep 17 00:00:00 2001 From: munechika-koyo Date: Sat, 14 Feb 2026 14:20:46 +0900 Subject: [PATCH 2/2] Fix formatting in client.hpp by removing unnecessary whitespace --- source/wrappers/c++/client.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/wrappers/c++/client.hpp b/source/wrappers/c++/client.hpp index ea017e0a..ea817acb 100755 --- a/source/wrappers/c++/client.hpp +++ b/source/wrappers/c++/client.hpp @@ -151,7 +151,7 @@ class LIBRARY_API Client { static std::string serverHostName(); static int serverPort(); - const char *getErrorMsg(int handle); + const char *getErrorMsg(int handle); const uda::Result& get(const std::string& signalName, const std::string& dataSource); @@ -161,7 +161,7 @@ class LIBRARY_API Client { int getFileID(int handle); int put(const uda::Signal& putdata); - + int put(const std::string& instruction); int put(const std::string& instruction, char data);