data_out function to dynamically allocate return value.
[pspp-builds.git] / src / data / data-out.h
index 7972f6a90eafe5050e2c219ecb2e45888ce20981..71cbbac3d5307e1c6bbba422443ea494e930e26e 100644 (file)
 struct fmt_spec;
 union value;
 
-void data_out (const union value *, const struct fmt_spec *, char *);
+char * data_out (const union value *, const struct fmt_spec *);
 
-void data_out_legacy (const union value *, const char *encoding,
-                      const struct fmt_spec *, char *);
+char * data_out_pool (const union value *, const struct fmt_spec *, struct pool *pool);
+
+void data_out_legacy (const union value *input, const char *encoding,
+                     const struct fmt_spec *format, char *output);
 
 #endif /* data-out.h */