"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lookup3.h" between
jansson-2.13.1.tar.bz2 and jansson-2.14.tar.bz2

About: Jansson is a C library for encoding, decoding and manipulating JSON data.

lookup3.h  (jansson-2.13.1.tar.bz2):lookup3.h  (jansson-2.14.tar.bz2)
skipping to change at line 76 skipping to change at line 76
#elif (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && \ #elif (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && \
__BYTE_ORDER == __BIG_ENDIAN) || \ __BYTE_ORDER == __BIG_ENDIAN) || \
(defined(sparc) || defined(POWERPC) || defined(mc68000) || defined(sel)) (defined(sparc) || defined(POWERPC) || defined(mc68000) || defined(sel))
# define HASH_LITTLE_ENDIAN 0 # define HASH_LITTLE_ENDIAN 0
# define HASH_BIG_ENDIAN 1 # define HASH_BIG_ENDIAN 1
#else #else
# define HASH_LITTLE_ENDIAN 0 # define HASH_LITTLE_ENDIAN 0
# define HASH_BIG_ENDIAN 0 # define HASH_BIG_ENDIAN 0
#endif #endif
#define hashsize(n) ((uint32_t)1<<(n)) #define hashsize(n) ((size_t)1<<(n))
#define hashmask(n) (hashsize(n)-1) #define hashmask(n) (hashsize(n)-1)
#define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k))))
/* /*
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
mix -- mix 3 32-bit values reversibly. mix -- mix 3 32-bit values reversibly.
This is reversible, so any information in (a,b,c) before mix() is This is reversible, so any information in (a,b,c) before mix() is
still in (a,b,c) after mix(). still in (a,b,c) after mix().
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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