gdimageflip.c (libgd-2.2.4) | : | gdimageflip.c (libgd-2.2.5) | ||
---|---|---|---|---|
/** | /** | |||
* Testing the basic operation of the gdImageFlip*() functions | * Testing the basic operation of the gdImageFlip*() functions | |||
*/ | */ | |||
#include "gd.h" | #include "gd.h" | |||
#include "gdtest.h" | #include "gdtest.h" | |||
static void test_flip(void (*func)(gdImagePtr), const char *filename) | static void test_flip(void (BGD_STDCALL *func)(gdImagePtr), const char *filename ) | |||
{ | { | |||
gdImagePtr im; | gdImagePtr im; | |||
FILE *fp; | FILE *fp; | |||
char *path; | char *path; | |||
fp = gdTestFileOpen2("gdimageflip", "remi.png"); | fp = gdTestFileOpen2("gdimageflip", "remi.png"); | |||
im = gdImageCreateFromPng(fp); | im = gdImageCreateFromPng(fp); | |||
fclose(fp); | fclose(fp); | |||
func(im); | func(im); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |