/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
- Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
class CLASS and auxiliary data AUX. */
struct case_sink *
create_case_sink (const struct case_sink_class *class,
- const struct dictionary *dict,
+ const struct dictionary *dict, struct casefile_factory *f,
void *aux)
{
struct case_sink *sink = xmalloc (sizeof *sink);
sink->class = class;
sink->value_cnt = dict_get_compacted_value_cnt (dict);
sink->aux = aux;
+ sink->factory = f;
return sink;
}