Skip to content

Commit 4ccb3a6

Browse files
committed
fix: add YAML_CPP_API for windows-shared library builds
1 parent fe25a35 commit 4ccb3a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/yaml-cpp/fptostring.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
namespace YAML {
1010
// "precision = 0" refers to shortest known unique representation of the value
11-
std::string FpToString(float v, size_t precision = 0);
12-
std::string FpToString(double v, size_t precision = 0);
13-
std::string FpToString(long double v, size_t precision = 0);
11+
YAML_CPP_API std::string FpToString(float v, size_t precision = 0);
12+
YAML_CPP_API std::string FpToString(double v, size_t precision = 0);
13+
YAML_CPP_API std::string FpToString(long double v, size_t precision = 0);
1414
}
1515

1616
#endif

0 commit comments

Comments
 (0)