summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Takmazov <vitalyster@gmail.com>2017-06-16 07:46:45 (GMT)
committerTobias Markmann <tm@ayena.de>2017-06-22 13:00:56 (GMT)
commitd46e946db8b25ddc34715e2e86c1e561f8381810 (patch)
tree4fa4dd2da2912847e59fc43b345ec194397f2ec5 /Swiften/Base
parentb634796ad03d009ec9ef593f6a881a964e7f0d31 (diff)
downloadswift-d46e946db8b25ddc34715e2e86c1e561f8381810.zip
swift-d46e946db8b25ddc34715e2e86c1e561f8381810.tar.bz2
Add missing SWIFTEN_API declarations
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details. Test-Information: Tested performed under Windows 10 1703 Change-Id: I332923986c8d62b75a76ef9f784811d09a662f22
Diffstat (limited to 'Swiften/Base')
-rw-r--r--Swiften/Base/Debug.h6
-rw-r--r--Swiften/Base/SafeAllocator.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Base/Debug.h b/Swiften/Base/Debug.h
index 9dde74c..a6d000f 100644
--- a/Swiften/Base/Debug.h
+++ b/Swiften/Base/Debug.h
@@ -19,8 +19,8 @@ namespace boost {
template<class T> class shared_ptr;
}
-std::ostream& operator<<(std::ostream& os, const Swift::ClientError& error);
+SWIFTEN_API std::ostream& operator<<(std::ostream& os, const Swift::ClientError& error);
-std::ostream& operator<<(std::ostream& os, Swift::Element* ele);
+SWIFTEN_API std::ostream& operator<<(std::ostream& os, Swift::Element* ele);
-std::ostream& operator<<(std::ostream& os, Swift::ClientSession::State state);
+SWIFTEN_API std::ostream& operator<<(std::ostream& os, Swift::ClientSession::State state);
diff --git a/Swiften/Base/SafeAllocator.cpp b/Swiften/Base/SafeAllocator.cpp
index 446ed2d..df51e20 100644
--- a/Swiften/Base/SafeAllocator.cpp
+++ b/Swiften/Base/SafeAllocator.cpp
@@ -13,7 +13,7 @@
namespace Swift {
-void secureZeroMemory(char* memory, size_t numberOfBytes) {
+SWIFTEN_API void secureZeroMemory(char* memory, size_t numberOfBytes) {
#ifdef SWIFTEN_PLATFORM_WINDOWS
SecureZeroMemory(memory, numberOfBytes);
#else