diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-02-09 18:33:48 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-02-09 18:33:48 +0000 |
commit | 44955d26e8b39a524e75752e3b495c22f5139933 (patch) | |
tree | 7477c99997792c3b4c8990872c544dfcc44c2120 /cpp/test/Ice/custom/TestAMDI.cpp | |
parent | Replace RWRecMutex by Mutex (diff) | |
download | ice-44955d26e8b39a524e75752e3b495c22f5139933.tar.bz2 ice-44955d26e8b39a524e75752e3b495c22f5139933.tar.xz ice-44955d26e8b39a524e75752e3b495c22f5139933.zip |
Do zero copy of basic sequence types on 32 bit intel platforms
Diffstat (limited to 'cpp/test/Ice/custom/TestAMDI.cpp')
-rw-r--r-- | cpp/test/Ice/custom/TestAMDI.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/test/Ice/custom/TestAMDI.cpp b/cpp/test/Ice/custom/TestAMDI.cpp index cf0ce022387..9e91329ce84 100644 --- a/cpp/test/Ice/custom/TestAMDI.cpp +++ b/cpp/test/Ice/custom/TestAMDI.cpp @@ -16,6 +16,15 @@ TestIntfI::TestIntfI(const Ice::CommunicatorPtr& communicator) } void +TestIntfI::opDoubleArray_async(const Test::AMD_TestIntf_opDoubleArrayPtr& opDoubleArrayCB, + const std::pair<const Ice::Double*, const Ice::Double*>& inSeq, + const Ice::Current& current) +{ + Test::DoubleSeq outSeq(inSeq.first, inSeq.second); + opDoubleArrayCB->ice_response(outSeq, outSeq); +} + +void TestIntfI::opBoolArray_async(const Test::AMD_TestIntf_opBoolArrayPtr& opBoolArrayCB, const std::pair<const bool*, const bool*>& inSeq, const Ice::Current& current) |