diff options
author | Marc Laukien <marc@zeroc.com> | 2001-10-22 22:56:04 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-10-22 22:56:04 +0000 |
commit | a294c79349e52b124528a820432a11f471347872 (patch) | |
tree | 3a27e01d8bc85884d75a574b5b6f13bd7eeae044 /cpp/src/slice2cpp | |
parent | more objects demo stuff (diff) | |
download | ice-a294c79349e52b124528a820432a11f471347872.tar.bz2 ice-a294c79349e52b124528a820432a11f471347872.tar.xz ice-a294c79349e52b124528a820432a11f471347872.zip |
more test stuff
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 204ac5b076d..156212eaed4 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -1741,6 +1741,20 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p) C << nl << "#endif"; C.restoreIndent(); } + else + { + C.zeroIndent(); + C << nl << "#ifdef WIN32"; // COMPILERBUG + C.restoreIndent(); + C << nl << "Object::__write(__os);"; + C.zeroIndent(); + C << nl << "#else"; + C.restoreIndent(); + C << nl << "::Ice::Object::__write(__os);"; + C.zeroIndent(); + C << nl << "#endif"; + C.restoreIndent(); + } C << eb; C << sp; C << nl << "void" << nl << scoped.substr(2) << "::__read(::IceInternal::BasicStream* __is)"; @@ -1762,6 +1776,20 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p) C << nl << "#endif"; C.restoreIndent(); } + else + { + C.zeroIndent(); + C << nl << "#ifdef WIN32"; // COMPILERBUG + C.restoreIndent(); + C << nl << "Object::__read(__is);"; + C.zeroIndent(); + C << nl << "#else"; + C.restoreIndent(); + C << nl << "::Ice::Object::__read(__is);"; + C.zeroIndent(); + C << nl << "#endif"; + C.restoreIndent(); + } C << eb; } H << eb << ';'; |