diff options
author | Jose <jose@zeroc.com> | 2019-09-03 16:44:36 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-09-03 16:44:36 +0200 |
commit | 860cd6940fc075f1b30d07b138f410d230ac0e14 (patch) | |
tree | 93c0c2141615b05aedd71e910ecb008a9c30c7aa /cpp/src/Slice/PythonUtil.cpp | |
parent | Fix bogus doc comments generated by slice2cs - Close #500 (diff) | |
download | ice-860cd6940fc075f1b30d07b138f410d230ac0e14.tar.bz2 ice-860cd6940fc075f1b30d07b138f410d230ac0e14.tar.xz ice-860cd6940fc075f1b30d07b138f410d230ac0e14.zip |
Fixes for slice2py forward declarations - Close #490
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rw-r--r-- | cpp/src/Slice/PythonUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index 83d8a8341d3..4ddb222a3d3 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -1827,7 +1827,7 @@ Slice::Python::CodeVisitor::writeType(const TypePtr& p) if(prx) { ClassDefPtr def = prx->_class()->definition(); - if(def && (def->isInterface() || def->allOperations().size() > 0)) + if(!def || def->isAbstract()) { _out << "_M_" << getAbsolute(prx->_class(), "_t_", "Prx"); } |