diff options
author | Mark Spruiell <mes@zeroc.com> | 2012-12-26 15:16:24 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2012-12-26 15:16:24 -0800 |
commit | 899c375da6787c33073997eb3722342a0cc971f3 (patch) | |
tree | 9f369f06baa9634c88f6c646e9f399ab44d49657 /cpp/src/slice2php/Main.cpp | |
parent | OS X installer updates (diff) | |
download | ice-899c375da6787c33073997eb3722342a0cc971f3.tar.bz2 ice-899c375da6787c33073997eb3722342a0cc971f3.tar.xz ice-899c375da6787c33073997eb3722342a0cc971f3.zip |
compact ID support for scripting languages
Diffstat (limited to 'cpp/src/slice2php/Main.cpp')
-rw-r--r-- | cpp/src/slice2php/Main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp index 2209bee48b4..87cc8e671c7 100644 --- a/cpp/src/slice2php/Main.cpp +++ b/cpp/src/slice2php/Main.cpp @@ -393,7 +393,7 @@ CodeVisitor::visitClassDefStart(const ClassDefPtr& p) // const bool preserved = p->hasMetaData("preserve-slice") || p->inheritsMetaData("preserve-slice"); _out << sp << nl << type << " = IcePHP_defineClass('" << scoped << "', '" << escapeName(abs) << "', " - << (isAbstract ? "true" : "false") << ", " << (preserved ? "true" : "false") << ", "; + << p->compactId() << ", " << (isAbstract ? "true" : "false") << ", " << (preserved ? "true" : "false") << ", "; if(!base) { _out << "$Ice__t_Object"; |