com php-src: fix imagecreatefromwebp and imagewebp protos: ext/gd/gd.c

From: Date: Mon, 24 Jun 2013 09:15:50 +0000
Subject: com php-src: fix imagecreatefromwebp and imagewebp protos: ext/gd/gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-72472@lists.php.net to get a copy of this message
Commit: 9da4985bf2d532ed72fbd3a7d3390464692cce7a Author: Remi Collet <remi@php.net> Mon, 24 Jun 2013 11:15:50 +0200 Parents: 8075f1f4a37804d00b35556826d378de513f7a8c Branches: PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9da4985bf2d532ed72fbd3a7d3390464692cce7a Log: fix imagecreatefromwebp and imagewebp protos Changed paths: M ext/gd/gd.c Diff: diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 9bdedee..7fef56e 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -2478,8 +2478,8 @@ PHP_FUNCTION(imagecreatefrompng) #endif /* HAVE_GD_PNG */ #ifdef HAVE_GD_WEBP -/* {{{ proto resource imagecreatefrompng(string filename) - Create a new image from PNG file or URL */ +/* {{{ proto resource imagecreatefromwebp(string filename) + Create a new image from WEBP file or URL */ PHP_FUNCTION(imagecreatefromwebp) { _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WEBP, "WEBP", gdImageCreateFromWebp, gdImageCreateFromWebpCtx); @@ -2718,7 +2718,7 @@ PHP_FUNCTION(imagepng) #ifdef HAVE_GD_WEBP /* {{{ proto bool imagewebp(resource im [, string filename[, quality]] ) - Output PNG image to browser or file */ + Output WEBP image to browser or file */ PHP_FUNCTION(imagewebp) { _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WEBP, "WEBP", gdImageWebpCtx);

« previous php.cvs (#72472) next »