summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/DotNetNames.cpp
diff options
context:
space:
mode:
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;