Commit 82f3c040 by Simon Gene Gottlieb Committed by Jesse Beder

fix: add YAML_CPP_API for windows-shared library builds

parent d8de9652
......@@ -4,13 +4,15 @@
#ifndef YAML_H_FP_TO_STRING
#define YAML_H_FP_TO_STRING
#include "yaml-cpp/dll.h"
#include <string>
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment