Commit: 34adce6c47f817fb13df5be56cd0d29e42389e69 Author: Pierre Joye <pierre....@gmail.com> Wed, 27 Feb 2013 20:08:26 +0100 Parents: efffdb4d7f7f9ace99bcd935c528c60c57c577a6 Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=34adce6c47f817fb13df5be56cd0d29e42389e69 Log: - add constants for imageflip Changed paths: M ext/gd/gd.c Diff: diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 0c6053b..05ab6551 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -1200,6 +1200,9 @@ PHP_MINIT_FUNCTION(gd) REGISTER_LONG_CONSTANT("IMG_EFFECT_NORMAL", gdEffectNormal, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMG_EFFECT_OVERLAY", gdEffectOverlay, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("GD_BUNDLED", 1, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("GD_FLIP_HORINZONTAL", GD_FLIP_HORINZONTAL, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("GD_FLIP_VERTICAL", GD_FLIP_VERTICAL, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("GD_FLIP_BOTH", GD_FLIP_BOTH, CONST_CS | CONST_PERSISTENT); #else REGISTER_LONG_CONSTANT("GD_BUNDLED", 0, CONST_CS | CONST_PERSISTENT); #endif -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php