src/minilzo.cpp
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 6527 f584ab6d87f8
child 6800 6c09e1e86fcb
equal deleted inserted replaced
9894:70d78ac95d6c 9895:7bd07f43b0e3
   268 #  endif
   268 #  endif
   269 #endif
   269 #endif
   270 
   270 
   271 __LZO_EXTERN_C int __lzo_init_done;
   271 __LZO_EXTERN_C int __lzo_init_done;
   272 __LZO_EXTERN_C const lzo_byte __lzo_copyright[];
   272 __LZO_EXTERN_C const lzo_byte __lzo_copyright[];
   273 LZO_EXTERN(const lzo_byte *) lzo_copyright(void);
   273 LZO_EXTERN(const lzo_byte *) lzo_copyright();
   274 __LZO_EXTERN_C const lzo_uint32 _lzo_crc32_table[256];
   274 __LZO_EXTERN_C const lzo_uint32 _lzo_crc32_table[256];
   275 
   275 
   276 #define _LZO_STRINGIZE(x)		   #x
   276 #define _LZO_STRINGIZE(x)		   #x
   277 #define _LZO_MEXPAND(x)			 _LZO_STRINGIZE(x)
   277 #define _LZO_MEXPAND(x)			 _LZO_STRINGIZE(x)
   278 
   278 
   707 #  define IS_UNSIGNED(type)	 (((type) (-1)) > ((type) 0))
   707 #  define IS_UNSIGNED(type)	 (((type) (-1)) > ((type) 0))
   708 #endif
   708 #endif
   709 
   709 
   710 #define IS_POWER_OF_2(x)		(((x) & ((x) - 1)) == 0)
   710 #define IS_POWER_OF_2(x)		(((x) & ((x) - 1)) == 0)
   711 
   711 
   712 // static lzo_bool schedule_insns_bug(void);
   712 // static lzo_bool schedule_insns_bug();
   713 // static lzo_bool strength_reduce_bug(int *);
   713 // static lzo_bool strength_reduce_bug(int *);
   714 
   714 
   715 #if 0 || defined(LZO_DEBUG)
   715 #if 0 || defined(LZO_DEBUG)
   716 #include <stdio.h>
   716 #include <stdio.h>
   717 static lzo_bool __lzo_assert_fail(const char *s, unsigned line)
   717 static lzo_bool __lzo_assert_fail(const char *s, unsigned line)