[Kde-bindings] branches/KDE/4.4/kdebindings/generator/generators/smoke
Arno Rehn
kde at arnorehn.de
Tue Jan 26 14:50:54 UTC 2010
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 at 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;
More information about the Kde-bindings
mailing list