]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- add map_setall() function (the macros are actually kinda deprecated)
authorMichael Schroeder <mls@suse.de>
Fri, 9 Mar 2012 12:52:32 +0000 (13:52 +0100)
committerMichael Schroeder <mls@suse.de>
Fri, 9 Mar 2012 12:52:32 +0000 (13:52 +0100)
src/bitmap.h

index 3bad3c39734f5ad59819fc4043a9eb9fca0f866a..395e7a7a7b5f0fe0d4ed6f4f8bdaa7f132526547 100644 (file)
@@ -44,6 +44,10 @@ static inline void map_set(Map *m, int n)
 {
   MAPSET(m, n);
 }
+static inline int map_setall(Map *m)
+{
+  MAPSETALL(m);
+}
 static inline void map_clr(Map *m, int n)
 {
   MAPCLR(m, n);