pike.git
/
src
/
modules
/
Image
/
match.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/Image/match.h:35:
haystack_cert, needle_cert, haystack_avoid, int foo) */ int xs,ys, y, x; /* for this & img */ int nxs,nys, ny, nx; /* for neddle */ int foo=0; double scale = 1.0; int needle_average=0; int needle_size=1;
-
if (!THIS->img) { Pike
_
error
(
"no image\n"
);
return; }
+
CHECK
_
INIT
();
this=THIS; haystacki=this->img; haystack=this; if (!args) { Pike_error("Missing arguments to image->"NAME"\n"); return; } else if (args<2) { Pike_error("Too few arguments to image->"NAME"\n"); return; } else { if (TYPEOF(sp[-args]) == T_INT) scale = (double)sp[-args].u.integer; else if (TYPEOF(sp[-args]) == T_FLOAT)