X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fbitmap.h;h=5784e6c0139c04e00048e19967d715db9b367b73;hb=bbdec95b275a74bd44244ba6a1d93e0fc21ef810;hp=b098b260db9b96c89c0185ffd4c39b427d20377e;hpb=76425ca6ca4351060f96014c7c53b39703681cfd;p=platform%2Fupstream%2Flibsolv.git diff --git a/src/bitmap.h b/src/bitmap.h index b098b26..5784e6c 100644 --- a/src/bitmap.h +++ b/src/bitmap.h @@ -15,6 +15,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + typedef struct _Map { unsigned char *map; int size; @@ -35,7 +39,8 @@ extern void map_init_clone(Map *t, Map *s); 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_and_not(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) { @@ -58,4 +63,8 @@ static inline int map_tst(Map *m, int n) return MAPTST(m, n); } +#ifdef __cplusplus +} +#endif + #endif /* LIBSOLV_BITMAP_H */