Skip to content

Commit

Permalink
fix: add YAML_CPP_API for windows-shared library builds
Browse files Browse the repository at this point in the history
  • Loading branch information
SGSSGene committed Jul 30, 2024
1 parent fe25a35 commit 4ccb3a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/yaml-cpp/fptostring.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

namespace YAML {
// "precision = 0" refers to shortest known unique representation of the value
std::string FpToString(float v, size_t precision = 0);
std::string FpToString(double v, size_t precision = 0);
std::string FpToString(long double v, size_t precision = 0);
YAML_CPP_API std::string FpToString(float v, size_t precision = 0);
YAML_CPP_API std::string FpToString(double v, size_t precision = 0);
YAML_CPP_API std::string FpToString(long double v, size_t precision = 0);
}

#endif

0 comments on commit 4ccb3a6

Please sign in to comment.