PROTON-1068: Export encapsulated incref/decref functions
- C++ Build fails on windows otherwise.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/73aad712
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/73aad712
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/73aad712

Branch: refs/heads/go1
Commit: 73aad7123a3f35785ebde0b961eda2c1c7223d94
Parents: a8e9582
Author: Andrew Stitcher <[email protected]>
Authored: Mon Dec 7 17:37:16 2015 -0500
Committer: Andrew Stitcher <[email protected]>
Committed: Mon Dec 7 17:37:16 2015 -0500

----------------------------------------------------------------------
 proton-c/bindings/cpp/include/proton/object.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/73aad712/proton-c/bindings/cpp/include/proton/object.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/include/proton/object.hpp 
b/proton-c/bindings/cpp/include/proton/object.hpp
index 0da20ae..6e5cef5 100644
--- a/proton-c/bindings/cpp/include/proton/object.hpp
+++ b/proton-c/bindings/cpp/include/proton/object.hpp
@@ -30,8 +30,8 @@ namespace proton {
 ///@cond INTERNAL
 class pn_ptr_base {
   protected:
-    static void incref(void* p);
-    static void decref(void* p);
+    PN_CPP_EXTERN static void incref(void* p);
+    PN_CPP_EXTERN static void decref(void* p);
 };
 
 template <class T> class pn_ptr : public comparable<pn_ptr<T> >, private 
pn_ptr_base {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to