summaryrefslogtreecommitdiff
path: root/cpp/src/slice2swift/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r--cpp/src/slice2swift/Gen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp
index e71c8ac7b83..b1bc67fa658 100644
--- a/cpp/src/slice2swift/Gen.cpp
+++ b/cpp/src/slice2swift/Gen.cpp
@@ -1021,6 +1021,7 @@ Gen::TypesVisitor::visitEnum(const EnumPtr& p)
out << eb;
out << sp;
+ out << nl << "/// An `Ice.InputStream` extension to read `" << name << "` enumerated values from the stream.";
out << nl << "public extension " << getUnqualified("Ice.InputStream", swiftModule);
out << sb;
@@ -1056,6 +1057,7 @@ Gen::TypesVisitor::visitEnum(const EnumPtr& p)
out << eb;
out << sp;
+ out << nl << "/// An `Ice.OutputStream` extension to write `" << name << "` enumerated values to the stream.";
out << nl << "public extension " << getUnqualified("Ice.OutputStream", swiftModule);
out << sb;