Prechádzať zdrojové kódy

Add ROCKETCORE_API specifier where appropriate

Victor Luchits 6 rokov pred
rodič
commit
6d9667b9b1

+ 1 - 1
Include/Rocket/Core/Transform.h

@@ -81,7 +81,7 @@ private:
 };
 };
 
 
 
 
-String ToString(const Transform& transform);
+ROCKETCORE_API String ToString(const Transform& transform);
 
 
 }
 }
 }
 }

+ 1 - 1
Include/Rocket/Core/TypeConverter.inl

@@ -354,7 +354,7 @@ public:
 };
 };
 
 
 
 
-String ToString(const Transform& transform);
+ROCKETCORE_API String ToString(const Transform& transform);
 
 
 template<>
 template<>
 class TypeConverter< TransformRef, String >
 class TypeConverter< TransformRef, String >

+ 1 - 1
Source/Core/Clock.cpp

@@ -32,7 +32,7 @@
 namespace Rocket {
 namespace Rocket {
 namespace Core {
 namespace Core {
 
 
-double Clock::GetElapsedTime()
+ROCKETCORE_API double Clock::GetElapsedTime()
 {
 {
 	SystemInterface* system_interface = GetSystemInterface();
 	SystemInterface* system_interface = GetSystemInterface();
 	if (system_interface != NULL)
 	if (system_interface != NULL)

+ 1 - 1
Source/Core/Clock.h

@@ -41,7 +41,7 @@ class Clock
 public:
 public:
 	/// Get the elapsed time since application startup
 	/// Get the elapsed time since application startup
 	/// @return Seconds elapsed since application startup.
 	/// @return Seconds elapsed since application startup.
-	static double GetElapsedTime();
+	ROCKETCORE_API static double GetElapsedTime();
 };
 };
 
 
 }
 }

+ 1 - 1
Source/Core/Transform.cpp

@@ -72,7 +72,7 @@ const Transforms::Primitive & Transform::GetPrimitive(int i) const noexcept
 	return primitives[i];
 	return primitives[i];
 }
 }
 
 
-String ToString(const Transform& transform)
+ROCKETCORE_API String ToString(const Transform& transform)
 {
 {
 	String result;
 	String result;
 	auto& primitives = transform.GetPrimitives();
 	auto& primitives = transform.GetPrimitives();