diff options
author | Jose <jose@zeroc.com> | 2019-06-14 11:41:24 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-14 11:41:24 +0200 |
commit | 6617607ea7b59000781a6da2d490221c42d215b4 (patch) | |
tree | 39d4a6f36e25ab20c379a10f2c2465294f9ccac3 /cpp/src/slice2swift/Gen.cpp | |
parent | Remove sliceValues property from Swift inputStream (diff) | |
download | ice-6617607ea7b59000781a6da2d490221c42d215b4.tar.bz2 ice-6617607ea7b59000781a6da2d490221c42d215b4.tar.xz ice-6617607ea7b59000781a6da2d490221c42d215b4.zip |
Add doc comments to Input/Output stream extensions for enumerated types
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r-- | cpp/src/slice2swift/Gen.cpp | 2 |
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; |