#include <string.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct _Map {
unsigned char *map;
int size;
extern void map_grow(Map *m, int n);
extern void map_free(Map *m);
extern void map_and(Map *t, Map *s);
+extern void map_or(Map *t, Map *s);
+extern void map_subtract(Map *t, Map *s);
static inline void map_empty(Map *m)
{
{
MAPSET(m, n);
}
+static inline void map_setall(Map *m)
+{
+ MAPSETALL(m);
+}
static inline void map_clr(Map *m, int n)
{
MAPCLR(m, n);
return MAPTST(m, n);
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LIBSOLV_BITMAP_H */