pike.git / src / post_modules / GL / gen.pike

version» Context lines:

pike.git/src/post_modules/GL/gen.pike:117:    res += " double arg"+i+";\n";    got += " arg"+i+"=sp["+(i-1)+"-args].u.float_number;\n";    break;    case 'F':    argt += ({"float"});    args += ({ "arg"+i });    res += " float arg"+i+";\n";    got += " arg"+i+"=sp["+(i-1)+"-args].u.float_number;\n";    break;    case '+': -  if(ty[i+1..]=="FFFF") -  continue; +     int mi, mx;    switch(sizeof(ty[i+1..])) {    case 3:    mi = 2; mx = 4; break;    case 4:    mi = 3; mx = 4; break;    default:    error("Can't understand + followed by %d chars.\n", sizeof(ty[i+1..]));    }    array plusfix = special_234(mi, mx, ty[i+1..]);
pike.git/src/post_modules/GL/gen.pike:185:       if(sizeof(argt))    res += "\n check_all_args(\""+name+"\", args, "+    ((Array.map((argt_cut<0?argt:argt[..argt_cut-1]),    lambda(string t) {    return Array.map(t/"|",    lambda(string t) {    return "BIT_"+upper_case(t);    })*"|";    }))+ -  (r234?({"BIT_MANY|BIT_MIXED"}):({}))+({"0"}))*", "+");\n"; +  (r234?({"BIT_MANY|BIT_MIXED|BIT_VOID"}):({}))+({"0"}))*", "+");\n";       if(sizeof(got))    res += "\n"+got+"\n";       switch(r234)    {    case 0:    res += (vret?" res=":" ")+fu+"("+(args*",")+");\n";    break;    case 1: