summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/DotNetNames.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-09-21 03:17:49 +0000
committerMichi Henning <michi@zeroc.com>2005-09-21 03:17:49 +0000
commitc8c8274bf45e01e1b951c309df0e7565aec149c0 (patch)
treed83ad78d2a3ef5f9a3d27244b3608cf58a655115 /cpp/src/Slice/DotNetNames.cpp
parentBug 467. (diff)
downloadice-c8c8274bf45e01e1b951c309df0e7565aec149c0.tar.bz2
ice-c8c8274bf45e01e1b951c309df0e7565aec149c0.tar.xz
ice-c8c8274bf45e01e1b951c309df0e7565aec149c0.zip
Bug 426.
Diffstat (limited to 'cpp/src/Slice/DotNetNames.cpp')
-rwxr-xr-xcpp/src/Slice/DotNetNames.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Slice/DotNetNames.cpp b/cpp/src/Slice/DotNetNames.cpp
index 379792ad671..58b42376ba3 100755
--- a/cpp/src/Slice/DotNetNames.cpp
+++ b/cpp/src/Slice/DotNetNames.cpp
@@ -104,7 +104,8 @@ ciEquals(const string& s, const char* p)
return true;
}
-const char* manglePrefix = "_Ice_";
+const char* manglePrefix = "ice_";
+const char* mangleSuffix = "_";
static bool
mangle(const string& s, const Node* np, string& newName)
@@ -114,7 +115,7 @@ mangle(const string& s, const Node* np, string& newName)
{
if(ciEquals(s, *namep))
{
- newName = manglePrefix + s;
+ newName = manglePrefix + s + mangleSuffix;
return true;
}
++namep;