diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-03-26 09:20:32 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-03-26 09:20:32 +0000 |
commit | 4f29224efebd15e75c32eb3cced99d46a3d667d3 (patch) | |
tree | bdadbdb21cb204b92f1a356ecde02a0d6a688dd9 /cpp/src/slice2freeze/Main.cpp | |
parent | Fixed build to not build the customEvictor demo on Mac OS X (diff) | |
download | ice-4f29224efebd15e75c32eb3cced99d46a3d667d3.tar.bz2 ice-4f29224efebd15e75c32eb3cced99d46a3d667d3.tar.xz ice-4f29224efebd15e75c32eb3cced99d46a3d667d3.zip |
Temporary fix to get slice2cppe to generate the old marshal/unmarshal code.
Diffstat (limited to 'cpp/src/slice2freeze/Main.cpp')
-rw-r--r-- | cpp/src/slice2freeze/Main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/slice2freeze/Main.cpp b/cpp/src/slice2freeze/Main.cpp index bb52497625b..09f07da1963 100644 --- a/cpp/src/slice2freeze/Main.cpp +++ b/cpp/src/slice2freeze/Main.cpp @@ -217,7 +217,7 @@ writeCodecC(const TypePtr& type, const StringList& metaData, const string& name, { C << nl << "stream.startWriteEncaps();"; } - writeMarshalUnmarshalCode(C, type, "v", true, "stream", false, metaData); + writeMarshalUnmarshalCode(false, C, type, "v", true, "stream", false, metaData); if(type->usesClasses()) { C << nl << "stream.writePendingObjects();"; @@ -245,7 +245,7 @@ writeCodecC(const TypePtr& type, const StringList& metaData, const string& name, { C << nl << "stream.startReadEncaps();"; } - writeMarshalUnmarshalCode(C, type, "v", false, "stream", false, metaData); + writeMarshalUnmarshalCode(false, C, type, "v", false, "stream", false, metaData); if(type->usesClasses()) { C << nl << "stream.readPendingObjects();"; @@ -592,7 +592,7 @@ writeDictWithIndicesC(const string& name, const string& absolute, const Dict& di valueS = "__lowerCaseIndex"; } - writeMarshalUnmarshalCode(C, indexTypes[i].type, valueS, true, "__stream", false, indexTypes[i].metaData); + writeMarshalUnmarshalCode(false, C, indexTypes[i].type, valueS, true, "__stream", false, indexTypes[i].metaData); C << nl << "::std::vector<Ice::Byte>(__stream.b.begin(), __stream.b.end()).swap(__bytes);"; } C << eb; @@ -615,7 +615,7 @@ writeDictWithIndicesC(const string& name, const string& absolute, const Dict& di C << nl << "__stream.b.resize(__bytes.size());"; C << nl << "::memcpy(&__stream.b[0], &__bytes[0], __bytes.size());"; C << nl << "__stream.i = __stream.b.begin();"; - writeMarshalUnmarshalCode(C, indexTypes[i].type, "__index", false, "__stream", false, + writeMarshalUnmarshalCode(false, C, indexTypes[i].type, "__index", false, "__stream", false, indexTypes[i].metaData); } C << eb; @@ -1066,7 +1066,7 @@ writeIndexC(const TypePtr& type, const TypePtr& memberType, const string& member valueS = "__lowerCaseIndex"; } - writeMarshalUnmarshalCode(C, memberType, valueS, true, "__stream", false); + writeMarshalUnmarshalCode(false, C, memberType, valueS, true, "__stream", false); if(memberType->usesClasses()) { C << nl << "__stream.writePendingObjects();"; |