zend_long x, y;
gdImagePtr im;
+#ifndef FAST_ZPP
if (zend_parse_parameters(ZEND_NUM_ARGS(), "rll", &IM, &x, &y) == FAILURE) {
return;
}
+#else
+ ZEND_PARSE_PARAMETERS_START(3, 3)
+ Z_PARAM_RESOURCE(IM)
+ Z_PARAM_LONG(x)
+ Z_PARAM_LONG(y)
+ ZEND_PARSE_PARAMETERS_END();
+#endif
if ((im = (gdImagePtr)zend_fetch_resource(Z_RES_P(IM), "Image", le_gd)) == NULL) {
RETURN_FALSE;
zend_long x, y, col;
gdImagePtr im;
+#ifndef FAST_ZPP
if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlll", &IM, &x, &y, &col) == FAILURE) {
return;
}
+#else
+ ZEND_PARSE_PARAMETERS_START(4, 4)
+ Z_PARAM_RESOURCE(IM)
+ Z_PARAM_LONG(x)
+ Z_PARAM_LONG(y)
+ Z_PARAM_LONG(col)
+ ZEND_PARSE_PARAMETERS_END();
+#endif
if ((im = (gdImagePtr)zend_fetch_resource(Z_RES_P(IM), "Image", le_gd)) == NULL) {
RETURN_FALSE;