diff options
author | unknown <serg@serg.mylan> | 2003-10-30 19:17:57 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-10-30 19:17:57 +0100 |
commit | 372e949242e637d0d80a694132a221e3842acdbd (patch) | |
tree | e29f3d04a40a0f1438871abcf54eceb9de6a07e4 /include/my_bitmap.h | |
parent | a8b7edda5123969c62101a65aac33b4b0d173e44 (diff) | |
download | mariadb-git-372e949242e637d0d80a694132a221e3842acdbd.tar.gz |
Bitmap post-review fixes
Diffstat (limited to 'include/my_bitmap.h')
-rw-r--r-- | include/my_bitmap.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/my_bitmap.h b/include/my_bitmap.h index cff2295f45c..5b3da011f54 100644 --- a/include/my_bitmap.h +++ b/include/my_bitmap.h @@ -38,23 +38,23 @@ typedef struct st_bitmap #ifdef __cplusplus extern "C" { #endif -extern my_bool bitmap_cmp(MY_BITMAP *map1, MY_BITMAP *map2); +extern my_bool bitmap_cmp(const MY_BITMAP *map1, const MY_BITMAP *map2); extern my_bool bitmap_init(MY_BITMAP *map, uchar *buf, uint bitmap_size, my_bool thread_safe); -extern my_bool bitmap_is_clear_all(MY_BITMAP *map); -extern my_bool bitmap_is_prefix(MY_BITMAP *map, uint prefix_size); -extern my_bool bitmap_is_set(MY_BITMAP *map, uint bitmap_bit); -extern my_bool bitmap_is_set_all(MY_BITMAP *map); -extern my_bool bitmap_is_subset(MY_BITMAP *map1, MY_BITMAP *map2); +extern my_bool bitmap_is_clear_all(const MY_BITMAP *map); +extern my_bool bitmap_is_prefix(const MY_BITMAP *map, uint prefix_size); +extern my_bool bitmap_is_set(const MY_BITMAP *map, uint bitmap_bit); +extern my_bool bitmap_is_set_all(const MY_BITMAP *map); +extern my_bool bitmap_is_subset(const MY_BITMAP *map1, const MY_BITMAP *map2); extern uint bitmap_set_next(MY_BITMAP *map); extern void bitmap_clear_all(MY_BITMAP *map); extern void bitmap_clear_bit(MY_BITMAP *map, uint bitmap_bit); extern void bitmap_free(MY_BITMAP *map); -extern void bitmap_intersect(MY_BITMAP *map, MY_BITMAP *map2); +extern void bitmap_intersect(MY_BITMAP *map, const MY_BITMAP *map2); extern void bitmap_set_all(MY_BITMAP *map); extern void bitmap_set_bit(MY_BITMAP *map, uint bitmap_bit); extern void bitmap_set_prefix(MY_BITMAP *map, uint prefix_size); -extern void bitmap_subtract(MY_BITMAP *map, MY_BITMAP *map2); -extern void bitmap_union(MY_BITMAP *map, MY_BITMAP *map2); +extern void bitmap_subtract(MY_BITMAP *map, const MY_BITMAP *map2); +extern void bitmap_union(MY_BITMAP *map, const MY_BITMAP *map2); #ifdef __cplusplus } #endif |