Change "union value" to dynamically allocate long strings.
[pspp-builds.git] / src / data / case-tmpfile.h
index a5916249d45fcf04ca55d2845da70ff8ebe618f2..bbf736e3d13080f365c2932e4d65294ef63d2549 100644 (file)
 
 #include <data/case.h>
 
-struct case_tmpfile *case_tmpfile_create (size_t value_cnt);
+struct caseproto;
+
+struct case_tmpfile *case_tmpfile_create (const struct caseproto *);
 bool case_tmpfile_destroy (struct case_tmpfile *);
 
 bool case_tmpfile_error (const struct case_tmpfile *);
 void case_tmpfile_force_error (struct case_tmpfile *);
 const struct taint *case_tmpfile_get_taint (const struct case_tmpfile *);
 
- bool case_tmpfile_get_values (const struct case_tmpfile *,
+bool case_tmpfile_get_values (const struct case_tmpfile *,
                               casenumber, size_t start_value,
                               union value[], size_t value_cnt);
 struct ccase *case_tmpfile_get_case (const struct case_tmpfile *, casenumber);