diff generator/containergenerator.cpp @ 110:136c9ee83ee5

put conversion code in separate functions
author eldar
date Mon, 01 Jun 2009 23:32:57 +0000
parents 5917a613d118
children 76e5e8597a83
line wrap: on
line diff
--- a/generator/containergenerator.cpp	Mon Jun 01 07:15:52 2009 +0000
+++ b/generator/containergenerator.cpp	Mon Jun 01 23:32:57 2009 +0000
@@ -370,6 +370,8 @@
         cpp_type = "void*";
         cpp_assign_type = cpp_type + "*";
         d_type = cls_name;
+        if (centry->designatedInterface())
+            d_type = centry->designatedInterface()->name();
         nativeId = ".nativeId";
     }