Changeset: de6ff11960e3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=de6ff11960e3
Modified Files:
gdk/gdk_batop.c
Branch: default
Log Message:
Removed unused macro updateloop.
diffs (29 lines):
diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -12,24 +12,12 @@
* We factor out all possible overhead by inlining code. This
* includes the macros BUNhead and BUNtail, which do a test to see
* whether the atom resides in the buns or in a variable storage
- * heap. The updateloop(dstbat, srcbat, operation) macro invokes
- * operation(dstbat, BUNhead(srcbat), BUNtail(srcbat)) on all buns of
- * the srcbat, but testing only once where they reside.
+ * heap.
*/
#include "monetdb_config.h"
#include "gdk.h"
#include "gdk_private.h"
-#define updateloop(bn, b, func)
\
- do { \
- BATiter bi = bat_iterator(b); \
- BUN p1, p2; \
- \
- BATloop(b, p1, p2) { \
- func(bn, BUNhead(bi, p1), BUNtail(bi, p1)); \
- } \
- } while (0)
-
gdk_return
unshare_string_heap(BAT *b)
{
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list