diff generator/cppimplgenerator.cpp @ 382:1d56b2a2e10c

Fixes to debugging stuff. Added size_t as primitive type to workaround Qwt build failure in debug
author Max Samukha <maxter@spambox.com>
date Mon, 12 Jul 2010 20:36:07 +0300
parents 7341c47790d4
children d2f48c4cb3e3
line wrap: on
line diff
--- a/generator/cppimplgenerator.cpp	Sun Jul 11 01:59:42 2010 +0100
+++ b/generator/cppimplgenerator.cpp	Mon Jul 12 20:36:07 2010 +0300
@@ -180,6 +180,7 @@
         table["long"] = "0";
         table["float"] = "0f";
         table["double"] = "0.0";
+        table["size_t"] = "0";
         table["java.lang.Object"] = "0";
     }
 
@@ -189,6 +190,7 @@
         return returnStr + " " + signature;
 
     Q_ASSERT(!java_type->isPrimitive());
+
     if (java_type->isJObjectWrapper())
         return returnStr + " JObjectWrapper()";
     if (java_type->isVariant())