- 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 3bad3c3..395e7a7 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);