summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-03-30 15:30:33 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-03-30 15:30:33 +0200
commit41cc89280ec8c21638fe6d4931ef145b103b5caa (patch)
tree05bb109ace2f0cd8c8fd9f82cca666b29fd46999 /include
parent7a928e2b19bddf152fd838469cc50805d4132401 (diff)
add PHPCPP_EXPORT macros to a number of << operators to prevent undefined symbol errors, Value::contains() now also works with __isset()
Diffstat (limited to 'include')
-rw-r--r--include/hashmember.h4
-rw-r--r--include/value.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/hashmember.h b/include/hashmember.h
index 12ee385..378ee90 100644
--- a/include/hashmember.h
+++ b/include/hashmember.h
@@ -611,8 +611,8 @@ private:
* @param value
* @return ostream
*/
-std::ostream &operator<<(std::ostream &stream, const HashMember<int> &value);
-std::ostream &operator<<(std::ostream &stream, const HashMember<std::string> &value);
+PHPCPP_EXPORT std::ostream &operator<<(std::ostream &stream, const HashMember<int> &value);
+PHPCPP_EXPORT std::ostream &operator<<(std::ostream &stream, const HashMember<std::string> &value);
/**
diff --git a/include/value.h b/include/value.h
index 40327cd..29b64af 100644
--- a/include/value.h
+++ b/include/value.h
@@ -1204,7 +1204,7 @@ protected:
* @param value
* @return ostream
*/
-std::ostream &operator<<(std::ostream &stream, const Value &value);
+PHPCPP_EXPORT std::ostream &operator<<(std::ostream &stream, const Value &value);
/**
* Custom +=, -=, *=, /=, &= operators, to update integral types with a Php::Value