projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Note that gperf is now required.
[pspp]
/
src
/
data
/
case-sink.c
diff --git
a/src/data/case-sink.c
b/src/data/case-sink.c
index ff4dfe326848edff1a36f5c447ba5d89eb16b98b..d7be3fa681c6c3f24c7da8159e29fcdee6f90c28 100644
(file)
--- a/
src/data/case-sink.c
+++ b/
src/data/case-sink.c
@@
-1,6
+1,5
@@
/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
/* 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
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@
-31,13
+30,14
@@
class CLASS and auxiliary data AUX. */
struct case_sink *
create_case_sink (const struct case_sink_class *class,
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;
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;
}
return sink;
}