diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-11-27 09:10:12 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-11-27 09:10:12 -0330 |
commit | 6f116d8c6b4654f9cb06bdf40f165ce64bf7dbf8 (patch) | |
tree | a14cf5a11f8e6ff699d0674914cadfa462f58c81 /cpp/src/Slice/RubyUtil.cpp | |
parent | 4351 - Move _close & close to FileUtil. (diff) | |
download | ice-6f116d8c6b4654f9cb06bdf40f165ce64bf7dbf8.tar.bz2 ice-6f116d8c6b4654f9cb06bdf40f165ce64bf7dbf8.tar.xz ice-6f116d8c6b4654f9cb06bdf40f165ce64bf7dbf8.zip |
Reverted commit for bug 3409 - py/rb sequence checking
Diffstat (limited to 'cpp/src/Slice/RubyUtil.cpp')
-rw-r--r-- | cpp/src/Slice/RubyUtil.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp index c866ae5883a..5bf0587099a 100644 --- a/cpp/src/Slice/RubyUtil.cpp +++ b/cpp/src/Slice/RubyUtil.cpp @@ -1097,21 +1097,11 @@ Slice::Ruby::CodeVisitor::visitSequence(const SequencePtr& p) // string name = fixIdent(p->name(), IdentToUpper); string scoped = p->scoped(); - TypePtr type = p->type(); _out << sp << nl << "if not defined?(" << getAbsolute(p, IdentToUpper, "T_") << ')'; _out.inc(); _out << nl << "T_" << name << " = ::Ice::__defineSequence('" << scoped << "', "; writeType(p->type()); - _out << ", "; - if(type->isVariableLength()) - { - _out << "true"; - } - else - { - _out << "false"; - } - _out << ", " << type->minWireSize() << ")"; + _out << ")"; _out.dec(); _out << nl << "end"; // if not defined?() } |