[Kde-bindings] Smoke numTypes wrong for the qtgui module

Richard Dale rdale at foton.es
Fri Oct 30 19:45:51 UTC 2009


I wanted to print out the type array for the qtgui module, but found the count 
of the types in smoke->numTypes is wrong.

static Smoke::Type types[] = {
    { 0, 0, 0 },        //0 (no type)
    { "FT_FaceRec_*", 0, Smoke::t_voidp|Smoke::tf_ptr },        //1

    ...

    { "void*", 0, Smoke::t_voidp|Smoke::tf_ptr },       //1504
    { "void**", 0, Smoke::t_voidp|Smoke::tf_ptr },      //1505
};


    qtgui_Smoke = new Smoke(
        "qtgui",
        __smokeqtgui::classes, 418,
        __smokeqtgui::methods, 14593,
        __smokeqtgui::methodMaps, 13752,
        __smokeqtgui::methodNames, 10298,
        __smokeqtgui::types, 1514,
        __smokeqtgui::inheritanceList,
        __smokeqtgui::argumentList,
        __smokeqtgui::ambiguousMethodList,
        __smokeqtgui::cast );

numTypes is 1514, but there are only 1505 types.

-- Richard



More information about the Kde-bindings mailing list