"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gd_filter.c" between
libgd-2.3.1.tar.gz and libgd-2.3.2.tar.gz

About: LibGD is a library for the dynamic creation of images by programmers (PNG, JPEG, GIF, WebP, XPM, BMP support).

gd_filter.c  (libgd-2.3.1):gd_filter.c  (libgd-2.3.2)
skipping to change at line 32 skipping to change at line 32
#undef NDEBUG #undef NDEBUG
/* Comment out this line to enable asserts. /* Comment out this line to enable asserts.
* TODO: This logic really belongs in cmake and configure. * TODO: This logic really belongs in cmake and configure.
*/ */
#define NDEBUG 1 #define NDEBUG 1
#include <assert.h> #include <assert.h>
typedef int (BGD_STDCALL *FuncPtr)(gdImagePtr, int, int); typedef int (BGD_STDCALL *FuncPtr)(gdImagePtr, int, int);
#define GET_PIXEL_FUNCTION(src)(src->trueColor?gdImageGetTrueColorPixel:gdImageG etPixel) #define GET_PIXEL_FUNCTION(src)(src->trueColor?gdImageGetTrueColorPixel:gdImageG etPixel)
#define MIN(a,b) ((a)<(b)?(a):(b))
#define MAX(a,b) ((a)<(b)?(b):(a))
#ifdef _WIN32 #ifdef _WIN32
# define GD_SCATTER_SEED() (unsigned int)(time(0) * GetCurrentProcessId()) # define GD_SCATTER_SEED() (unsigned int)(time(0) * GetCurrentProcessId())
#else #else
# define GD_SCATTER_SEED() (unsigned int)(time(0) * getpid()) # define GD_SCATTER_SEED() (unsigned int)(time(0) * getpid())
#endif #endif
/* /*
Function: gdImageScatter Function: gdImageScatter
*/ */
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)