diff options
author | Pierre Joye <pierre.php@gmail.com> | 2021-09-13 20:51:16 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 20:51:16 +0700 |
commit | d39eb6073420a8692f1fb34a2ab87ca750a57cb8 (patch) | |
tree | 0cebf2c89ceb1a88b1d0dddde611cb5a0c71a80a | |
parent | b203aceb714451c5317b3cc380ad48e57c809a3f (diff) | |
parent | e47c619d792455aad23708d2ec2947455394427e (diff) | |
download | libgd-d39eb6073420a8692f1fb34a2ab87ca750a57cb8.tar.gz |
Merge pull request #766 from libgd/issue-flip
Restore GD_FLIP_* macros
-rw-r--r-- | src/gd.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1604,6 +1604,13 @@ BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im); BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im); BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im); +/* Macros still used in gd extension up to PHP 8.0 + so please keep these unused macros for now */ +#define GD_FLIP_HORINZONTAL 1 /* typo, kept for BC */ +#define GD_FLIP_HORIZONTAL 1 +#define GD_FLIP_VERTICAL 2 +#define GD_FLIP_BOTH 3 + /** * Group: Crop * |