@@ -132,8 +132,9 @@ static void php_image_filter_pixelate(INTERNAL_FUNCTION_PARAMETERS);
132
132
static void php_image_filter_scatter (INTERNAL_FUNCTION_PARAMETERS );
133
133
134
134
/* End Section filters declarations */
135
- static gdImagePtr _php_image_create_from_string (zend_string * Data , char * tn , gdImagePtr (* ioctx_func_p )(gdIOCtx * infile ));
136
- static void _php_image_create_from (INTERNAL_FUNCTION_PARAMETERS , int image_type , char * tn , gdImagePtr (* func_p )(), gdImagePtr (* ioctx_func_p )(gdIOCtx * infile ));
135
+ static gdImagePtr _php_image_create_from_string (zend_string * Data , char * tn , gdImagePtr (* ioctx_func_p )(gdIOCtx * ));
136
+ static void _php_image_create_from (INTERNAL_FUNCTION_PARAMETERS , int image_type , char * tn ,
137
+ gdImagePtr (* func_p )(FILE * ), gdImagePtr (* ioctx_func_p )(struct gdIOCtx * , int , int , int , int ));
137
138
static void _php_image_output (INTERNAL_FUNCTION_PARAMETERS , int image_type , char * tn , void (* func_p )());
138
139
static gdIOCtx * create_stream_context_from_zval (zval * to_zval );
139
140
static gdIOCtx * create_stream_context (php_stream * stream , int close_stream );
@@ -1551,7 +1552,8 @@ PHP_FUNCTION(imagecreatefromstring)
1551
1552
/* }}} */
1552
1553
1553
1554
/* {{{ _php_image_create_from */
1554
- static void _php_image_create_from (INTERNAL_FUNCTION_PARAMETERS , int image_type , char * tn , gdImagePtr (* func_p )(), gdImagePtr (* ioctx_func_p )(gdIOCtx * infile ))
1555
+ static void _php_image_create_from (INTERNAL_FUNCTION_PARAMETERS , int image_type , char * tn ,
1556
+ gdImagePtr (* func_p )(FILE * ), gdImagePtr (* ioctx_func_p )(gdIOCtx * ))
1555
1557
{
1556
1558
char * file ;
1557
1559
size_t file_len ;
@@ -4154,7 +4156,8 @@ static gdIOCtx *create_output_context() {
4154
4156
return ctx ;
4155
4157
}
4156
4158
4157
- static void _php_image_output_ctx (INTERNAL_FUNCTION_PARAMETERS , int image_type , char * tn , void (* func_p )())
4159
+ static void _php_image_output_ctx (INTERNAL_FUNCTION_PARAMETERS , int image_type , char * tn ,
4160
+ void (* func_p )(gdImagePtr , gdIOCtx * , int ))
4158
4161
{
4159
4162
zval * imgind ;
4160
4163
zend_long quality = -1 , basefilter = -1 ;
0 commit comments