From f86bb34ec33de67fcc569d1f8cf6df2a6b7af6ad Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Fri, 20 Feb 2004 17:44:41 +0000 Subject: C++ -> Java --- cpp/src/slice2cpp/Gen.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index acb44b529af..de76e3677eb 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -646,10 +646,6 @@ Slice::Gen::TypesVisitor::visitSequence(const SequencePtr& p) string scoped = fixKwd(p->scoped()); string scope = fixKwd(p->scope()); - // - // TODO: ice_marshal/ice_unmarshal, __write/__read can be - // moved into the helper. - // H << sp << nl << "class __U__" << name << " { };"; H << nl << _dllExport << "void __write(::IceInternal::BasicStream*, const " << name << "&, __U__" << name << ");"; @@ -672,6 +668,8 @@ Slice::Gen::TypesVisitor::visitSequence(const SequencePtr& p) C << nl << "::Ice::Int sz;"; C << nl << "__is->readSize(sz);"; // + // TODO: + // // ML: Don't use v.resize(sz) or v.reserve(sz) here, as it // cannot be checked whether sz is a reasonable value. // @@ -716,10 +714,6 @@ Slice::Gen::TypesVisitor::visitDictionary(const DictionaryPtr& p) string scoped = fixKwd(p->scoped()); string scope = fixKwd(p->scope()); - // - // TODO: ice_marshal/ice_unmarshal, __write/__read can be - // moved into the helper. - // H << sp << nl << "class __U__" << name << " { };"; H << nl << _dllExport << "void __write(::IceInternal::BasicStream*, const " << name << "&, __U__" << name << ");"; -- cgit v1.2.3