~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_bit.c

  • Committer: Brian Aker
  • Date: 2008-08-11 04:55:59 UTC
  • Revision ID: brian@tangent.org-20080811045559-azgfc343y0igyzsz
ulong cleanup, remove log code from myisam.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#include "mysys_priv.h"
17
17
 
 
18
#ifndef HAVE_INLINE
 
19
/* the following will cause all inline functions to be instantiated */
 
20
#define HAVE_INLINE
 
21
#undef STATIC_INLINE
 
22
#define STATIC_INLINE extern
 
23
#endif
 
24
 
18
25
#include <mysys/my_bit.h>
19
26
 
20
27
const char _my_bits_nbits[256] = {
39
46
/*
40
47
  perl -e 'print map{", 0x".unpack H2,pack B8,unpack b8,chr$_}(0..255)'
41
48
*/
42
 
const unsigned char _my_bits_reverse_table[256]={
 
49
const uchar _my_bits_reverse_table[256]={
43
50
0x00, 0x80, 0x40, 0xC0, 0x20, 0xA0, 0x60, 0xE0, 0x10, 0x90, 0x50, 0xD0, 0x30,
44
51
0xB0, 0x70, 0xF0, 0x08, 0x88, 0x48, 0xC8, 0x28, 0xA8, 0x68, 0xE8, 0x18, 0x98,
45
52
0x58, 0xD8, 0x38, 0xB8, 0x78, 0xF8, 0x04, 0x84, 0x44, 0xC4, 0x24, 0xA4, 0x64,