Add dll tag to Binary

This commit is contained in:
Jesse Beder
2014-03-25 22:03:27 -05:00
parent 66e5c07b4f
commit 47af59f09c

View File

@@ -10,11 +10,14 @@
#include <string>
#include <vector>
namespace YAML {
std::string EncodeBase64(const unsigned char *data, std::size_t size);
std::vector<unsigned char> DecodeBase64(const std::string &input);
#include "yaml-cpp/dll.h"
class Binary {
namespace YAML {
YAML_CPP_API std::string EncodeBase64(const unsigned char *data,
std::size_t size);
YAML_CPP_API std::vector<unsigned char> DecodeBase64(const std::string &input);
class YAML_CPP_API Binary {
public:
Binary() : m_unownedData(0), m_unownedSize(0) {}
Binary(const unsigned char *data_, std::size_t size_)