Skip to content

Commit eaa3fd8

Browse files
committed
maybe fix DLL symbols for VS
1 parent ff63d03 commit eaa3fd8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/json/reader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ class JSON_API CharReaderBuilder : public CharReader::Factory {
360360
* Someday we might have a real StreamReader, but for now this
361361
* is convenient.
362362
*/
363-
bool parseFromStream(
363+
bool JSON_API parseFromStream(
364364
CharReader::Factory const&,
365365
std::istream&,
366366
Value* root, std::string* errs);

include/json/writer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class JSON_API StreamWriter {
6666
/** \brief Write into stringstream, then return string, for convenience.
6767
* A StreamWriter will be created from the factory, used, and then deleted.
6868
*/
69-
std::string writeString(StreamWriter::Factory const& factory, Value const& root);
69+
std::string JSON_API writeString(StreamWriter::Factory const& factory, Value const& root);
7070

7171

7272
/** \brief Build a StreamWriter implementation.

0 commit comments

Comments
 (0)