Skip to content

Commit 9b41c8b

Browse files
authored
Declare gdImageGetInterpolationMethod() for bundled GD (GH-15329)
When this function has been added to our bundled GD[1], it had been overlooked to also declare it in gd.h, like it's done in libgd. While MSVC doesn't have any issues with this, clang reports an error. [1] <03bd433>
1 parent db5ea45 commit 9b41c8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/gd/libgd/gd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,7 @@ gdImagePtr gdImageCropAuto(gdImagePtr im, const unsigned int mode);
878878
gdImagePtr gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold);
879879

880880
int gdImageSetInterpolationMethod(gdImagePtr im, gdInterpolationMethod id);
881+
gdInterpolationMethod gdImageGetInterpolationMethod(gdImagePtr im);
881882

882883
gdImagePtr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new_height);
883884
gdImagePtr gdImageScaleBicubic(gdImagePtr src_img, const unsigned int new_width, const unsigned int new_height);

0 commit comments

Comments
 (0)