diff options
Diffstat (limited to 'cpp/src/Ice/Proxy.cpp')
-rw-r--r-- | cpp/src/Ice/Proxy.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp index 8a9edc79ab1..d516ccecf54 100644 --- a/cpp/src/Ice/Proxy.cpp +++ b/cpp/src/Ice/Proxy.cpp @@ -22,6 +22,7 @@ #include <Ice/BasicStream.h> #include <Ice/LocalException.h> #include <Ice/ConnectionI.h> // To convert from ConnectionIPtr to ConnectionPtr in ice_getConnection(). +#include <Ice/Stream.h> using namespace std; using namespace Ice; @@ -1155,3 +1156,15 @@ Ice::proxyIdentityAndFacetEqual(const ObjectPrx& lhs, const ObjectPrx& rhs) return false; } } + +void +Ice::ice_writeObjectPrx(const OutputStreamPtr& out, const ObjectPrx& v) +{ + out->writeProxy(v); +} + +void +Ice::ice_readObjectPrx(const InputStreamPtr& in, ObjectPrx& v) +{ + v = in->readProxy(); +} |