diff options
author | Joe George <joe@zeroc.com> | 2015-12-17 09:58:11 -0500 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2015-12-17 10:27:29 -0500 |
commit | 1ea2a111f3a0871b197e41750a0805d52b8eaa0a (patch) | |
tree | f181a7cfe3f835d4377b52bdeabebff3b6f97806 /cpp/src/Slice/ObjCUtil.cpp | |
parent | C++11 mapping test updates (diff) | |
download | ice-1ea2a111f3a0871b197e41750a0805d52b8eaa0a.tar.bz2 ice-1ea2a111f3a0871b197e41750a0805d52b8eaa0a.tar.xz ice-1ea2a111f3a0871b197e41750a0805d52b8eaa0a.zip |
ICE-6897 - Python and Objective-C ValueFactory
- ValueFactory's are now functions/lambdas in Python and blocks in
Objective-C
Diffstat (limited to 'cpp/src/Slice/ObjCUtil.cpp')
-rw-r--r-- | cpp/src/Slice/ObjCUtil.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/Slice/ObjCUtil.cpp b/cpp/src/Slice/ObjCUtil.cpp index cb156ea50be..5655b34139e 100644 --- a/cpp/src/Slice/ObjCUtil.cpp +++ b/cpp/src/Slice/ObjCUtil.cpp @@ -297,7 +297,11 @@ Slice::ObjCGenerator::typeToString(const TypePtr& type) { if(cl->isInterface()) { - if(cl->isLocal()) + if(cl->definition() && cl->definition()->isDelegate()) + { + return fixName(cl); + } + else if(cl->isLocal()) { return "id<" + fixName(cl) + ">"; } |