pike.git / src / modules / Image / phase.h

version» Context lines:

pike.git/src/modules/Image/phase.h:8:   {    struct object *o;    struct image *img,    *this;    rgb_group *imgi=0,*thisi=0;       int y, x; /* for this & img */    int yz, xz; /* for this & img */    int ys, xs; /* for this & img */    -  if (!THIS->img) { error("no image\n"); return; } +  if (!THIS->img) { Pike_error("no image\n"); return; }    this=THIS;    thisi=this->img;          push_int(this->xsize);    push_int(this->ysize);    o=clone_object(image_program,2);    img=(struct image*)get_storage(o,image_program);    imgi=img->img;