Changeset: a0ccd0deb205 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a0ccd0deb205 Modified Files: gdk/gdk_cand.h Branch: Oct2014 Log Message:
Add a comment. diffs (18 lines): diff --git a/gdk/gdk_cand.h b/gdk/gdk_cand.h --- a/gdk/gdk_cand.h +++ b/gdk/gdk_cand.h @@ -17,6 +17,14 @@ * All Rights Reserved. */ +/* This macro initializes the variables start, end, cnt, cand, and + * candend that were passed as arguments from the input parameters b + * and s (the candidate list). Start and end are the start and end + * BUNs of b that need to be considered. They are relative to + * BUNfirst(b) (i.e. not necessarily the start of the heap). Cand and + * candend point into the candidate list, if present. + * Note that if the tail of the candidate list is dense, cand and + * candend are set to NULL and start and end are adjusted instead. */ #define CANDINIT(b, s, start, end, cnt, cand, candend) \ do { \ start = 0; \ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list