X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fsort.c;h=a93466f27c8386cfa1692d2ff349d316197e3c65;hb=f447ebdf19acf26d2d46cee1595e99c3620ee30d;hp=a784960420874dd17d0bff8ba8715d824506614b;hpb=c2b19a85c1d156d72f1b853bffdcca2c2690e79c;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)