3 * $Id: bitmap2.h 45 1998-11-09 13:35:51Z phil $
11 #ifndef CACAO_NO_INLINE
12 #define __cacao_inline__ inline
14 #define __cacao_inline__
18 #define __inline__ __cacao_inline__
32 BITBLOCK* bitmap; /* accessor, usually copied */
33 unsigned long bytesize; /* used internally */
34 void* bitmap_beyond_addr;
35 OFFSET_T bitmap_top_block;
36 void* bitmap_memory; /* internal: the real address */
39 __inline__ void bitmap_setbit(BITBLOCK* bitmap, void* addr);
40 __inline__ void bitmap_clearbit(BITBLOCK* bitmap, void* addr);
41 __inline__ bool bitmap_testbit(BITBLOCK* bitmap, void* addr);
43 __inline__ void bitmap_checking_setbit(bitmap_t* bitmap, void* addr);
44 __inline__ void bitmap_checking_clearbit(bitmap_t* bitmap, void* addr);
45 __inline__ bool bitmap_checking_testbit(bitmap_t* bitmap, void* addr);
47 __inline__ void bitmap_clear(bitmap_t* bitmap);
48 __inline__ bitmap_t* bitmap_allocate(void* zero_offset, OFFSET_T size);
49 __inline__ void bitmap_release(bitmap_t* bitmap);
51 __inline__ void* bitmap_find_next_setbit(bitmap_t* bitmap, void* addr);
52 __inline__ void* bitmap_find_next_combination_set_unset(bitmap_t* bitmap, bitmap_t* invertedmap, void* addr);
57 * These are local overrides for various environment variables in Emacs.
58 * Please do not remove this and leave it at the end of the file, where
59 * Emacs will automagically detect them.
60 * ---------------------------------------------------------------------