summaryrefslogtreecommitdiff
path: root/cpp/src/slice2swift/Gen.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2019-03-18 12:12:07 -0400
committerJoe George <joe@zeroc.com>2019-03-18 12:12:07 -0400
commit9889de4cce9c27b7085a967d3c7819fedd304f98 (patch)
tree463a97a7e970c8196da0046957197aa10c2c9d6f /cpp/src/slice2swift/Gen.cpp
parentIce/operations test updates (diff)
downloadice-9889de4cce9c27b7085a967d3c7819fedd304f98.tar.bz2
ice-9889de4cce9c27b7085a967d3c7819fedd304f98.tar.xz
ice-9889de4cce9c27b7085a967d3c7819fedd304f98.zip
Proxy unmarshaling fixes
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r--cpp/src/slice2swift/Gen.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp
index e21d35e32d5..86d25b75bad 100644
--- a/cpp/src/slice2swift/Gen.cpp
+++ b/cpp/src/slice2swift/Gen.cpp
@@ -866,26 +866,6 @@ Gen::ProxyVisitor::visitClassDefStart(const ClassDefPtr& p)
out << nl << "return " << prxI << ".uncheckedCast(prx: prx, facet: facet, context: context) as " << prxI << "?";
out << eb;
- //
- // InputStream extension
- //
- out << sp;
- out << nl << "public extension " << getUnqualified("Ice.InputStream", swiftModule);
- out << sb;
-
- out << nl << "func read() throws -> " << prx << "?";
- out << sb;
- out << nl << "return try read() as " << prxI << "?";
- out << eb;
-
- out << sp;
- out << nl << "func read(tag: Int32) throws -> " << prx << "?";
- out << sb;
- out << nl << "return try read(tag: tag) as " << prxI << "?";
- out << eb;
-
- out << eb;
-
out << sp;
out << nl << "public extension " << prx;
out << sb;