rem: '       ' + paramType + ' ' + paramVar + ' = KJSEmbed::extractObject<' + paramType + '>(exec, args, ' + paramIdx + ', '; 
add: '       ' + coreParamType + ' ' + paramVar + ' = KJSEmbed::extractObject<' + coreParamType + '>(exec, args, ' + paramIdx + ', '; 
context: function extract_parameter( parameter, paramIdx ){    var extracted = '';    var paramType = parameter.firstChildElement('type').toElement().toString();    var paramVar = parameter.firstChildElement('declname').toElement().toString();    var paramVarElement = parameter.firstChildElement('declname').toElement();    var paramDefault = parameter.firstChildElement('defval').toElement();    if (paramVarElement.isNull())        paramVar = 'arg' + paramIdx;    if ( paramType.indexOf('Qt::') != -1 )  // Enum Value    {        extracted +=            '       ' + paramType + ' ' + paramVar + ' = static_cast<' + paramType + '>(KJSEmbed::extractInt(exec, args, ' + paramIdx + ', ';        if (!paramDefault.isNull())            extracted += paramDefault.toString() + '));\n';        else            extracted += '0));\n';        return extracted;    }    else if ( isVariant(paramType) )    {        //extracted += 'if(args['+paramIdx+'].getObject() != 0 && QByteArray(args['+paramIdx+'].getObject()->classInfo()->className) == "'+paramType+'");\n';        extracted +=            '       ' + paramType + ' ' + paramVar + ' = KJSEmbed::extractValue<' + paramType + '>(exec, args, ' + paramIdx + ');\n';        return extracted;    }    else    // It's an object, or something else?    {        extracted +=            '       ' + paramType + ' ' + paramVar + ' = KJSEmbed::extractObject<' + paramType + '>(exec, args, ' + paramIdx + ', ';    }    if (!paramDefault.isNull())        extracted += paramDefault.toString() + ');\n';    else        extracted += '0);\n';    return extracted;}
meta: 1078	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1078/69ed474977e24c31d0cdca8c2521d63371b26214/generatebinding.js/buggy/kjsembed/autobind/values/generatebinding.js