[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    [Kde-bindings]
From:       Arno Rehn <kde () arnorehn ! de>
Date:       2010-01-26 14:50:54
Message-ID: 1264517454.938081.1641.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1080603 by arnorehn:

backport from trunk:
Make the first method of the methods[] table an invalid method, so
that the ambigious methods list doesn't break.

CCMAIL: kde-bindings@kde.org



 M  +3 -2      writeSmokeDataFile.cpp  


--- branches/KDE/4.4/kdebindings/generator/generators/smoke/writeSmokeDataFile.cpp \
#1080602:1080603 @@ -439,9 +439,10 @@
     out << "// (classId, name (index in methodNames), argumentList index, number of \
args, method flags, "  << "return type (index in types), xcall() index)\n";
     out << "static Smoke::Method methods[] = {\n";
+    out << "    { 0, 0, 0, 0, 0, 0, 0 },\t// (no method)\n";
     
-    i = 0;
-    int methodCount = 0;
+    i = 1;
+    int methodCount = 1;
     for (QMap<QString, int>::const_iterator iter = classIndex.constBegin(); iter != \
classIndex.constEnd(); iter++) {  Class* klass = &classes[iter.key()];
         const Method* destructor = 0;
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic