X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fsort.c;h=a93466f27c8386cfa1692d2ff349d316197e3c65;hb=4821381dc228344ea2b879e6c1ce108912fd4e6f;hp=a784960420874dd17d0bff8ba8715d824506614b;hpb=577f59892bab98f11a056429ddce92e5bb92b6a9;p=pspp diff --git a/src/math/sort.c b/src/math/sort.c index a784960420..a93466f27c 100644 --- a/src/math/sort.c +++ b/src/math/sort.c @@ -60,6 +60,9 @@ static struct ccase *pqueue_pop (struct pqueue *, casenumber *); static void output_record (struct sort_writer *); +/* Creates a casewriter that sorts the cases written to it. Once all the cases + have been written, use casewriter_make_reader() to obtain the sorted + results. */ struct casewriter * sort_create_writer (const struct subcase *ordering, const struct caseproto *proto)