diff generator/cppimplgenerator.cpp @ 378:7341c47790d4

binding of qwt
author Eldar Insafutdinov
date Sat, 10 Jul 2010 21:54:44 +0100
parents beaf4a2974d7
children 1d56b2a2e10c
line wrap: on
line diff
--- a/generator/cppimplgenerator.cpp	Fri Jul 09 20:24:24 2010 +0100
+++ b/generator/cppimplgenerator.cpp	Sat Jul 10 21:54:44 2010 +0100
@@ -3164,6 +3164,8 @@
         } else {
 // qtd            s << fromObject(java_type->typeEntry(),
 // qtd                            (java_type->isReference() ? "&" : "") + qt_name) << endl;
+            if (java_type->isReference())
+                s << "&";
             s << qt_name << ";" << endl;
         }
     }