Branch: Tag:

1999-07-18

1999-07-18 15:08:42 by Marcus Comstedt <marcus@mc.pp.se>

Better error messages for non-image imageobjects.

Rev: src/post_modules/GL/auto.c.in:1.7
Rev: src/post_modules/GL/gen.pike:1.7

221:    if(img_obj) {    argt += ({"object"});    res += " struct zimage img;\n"; -  got += " check_img_arg(sp["+(a-1)+"-args].u.object, &img);\n"; +  got += " check_img_arg(sp["+(a-1)+"-args].u.object, &img, "+a+ +  ", \""+name+"\");\n";    }       prot = (argt*",")+prot;