~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/my_bit.h

  • Committer: Monty Taylor
  • Date: 2008-07-05 11:20:18 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: monty@inaugust.com-20080705112018-fr12kkmgphtu7m29
Changes so that removal of duplicate curr_dir from my_sys.h work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
*/
4
4
 
5
5
C_MODE_START
6
 
#ifdef HAVE_INLINE
7
6
 
8
7
extern const char _my_bits_nbits[256];
9
8
extern const uchar _my_bits_reverse_table[256];
98
97
     _my_bits_reverse_table[(key>>24)      ];
99
98
}
100
99
 
101
 
#else  /* HAVE_INLINE */
102
 
extern uint my_bit_log2(ulong value);
103
 
extern uint32 my_round_up_to_next_power(uint32 v);
104
 
uint32 my_clear_highest_bit(uint32 v);
105
 
uint32 my_reverse_bits(uint32 key);
106
 
extern uint my_count_bits(ulonglong v);
107
 
extern uint my_count_bits_ushort(ushort v);
108
 
#endif /* HAVE_INLINE */
109
100
C_MODE_END