diff options
author | Ranjay Krishna <rak248@cornell.edu> | 2013-12-18 15:24:59 -0500 |
---|---|---|
committer | Matt Kangas <matt.kangas@mongodb.com> | 2013-12-28 11:32:36 -0500 |
commit | 6c5777102a973d9b5e41619f2315b75da3be3084 (patch) | |
tree | b48935c1c54fa147de9608bca0d8f266e94ed54f /src/mongo/db/json.h | |
parent | e63ebb10569e05b65a34071f0a9360374b4d7139 (diff) | |
download | mongo-6c5777102a973d9b5e41619f2315b75da3be3084.tar.gz |
SERVER-3364 Label rest of client api with MONGO_CLIENT_API
build all the sharedclient programs using the new macro MONGO_CLIENT_API in mongo/client/export_macros.h
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Diffstat (limited to 'src/mongo/db/json.h')
-rw-r--r-- | src/mongo/db/json.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/json.h b/src/mongo/db/json.h index d2d3b0a6f61..04c881fa77d 100644 --- a/src/mongo/db/json.h +++ b/src/mongo/db/json.h @@ -32,6 +32,7 @@ #include "mongo/bson/bsonobj.h" #include "mongo/base/status.h" +#include "mongo/client/export_macros.h" namespace mongo { @@ -48,10 +49,10 @@ namespace mongo { * @throws MsgAssertionException if parsing fails. The message included with * this assertion includes the character offset where parsing failed. */ - BSONObj fromjson(const std::string& str); + MONGO_CLIENT_API BSONObj fromjson(const std::string& str); /** @param len will be size of JSON object in text chars. */ - BSONObj fromjson(const char* str, int* len=NULL); + MONGO_CLIENT_API BSONObj fromjson(const char* str, int* len=NULL); /** * Parser class. A BSONObj is constructed incrementally by passing a |