data-in: Make data_in() parameters more uniform.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 20 Sep 2010 04:36:58 +0000 (21:36 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 24 Sep 2010 04:13:11 +0000 (21:13 -0700)
commit38993354cabb6fc37bb882be92f9a49e9aeb4c88
treed615ee936f6acf80aaa9d6336255959fa67ade50
parent00129e248ab4ce96af72d380d8a0ccfad2f5d776
data-in: Make data_in() parameters more uniform.

data_in() essentially takes an input encoding and an output encoding but
the parameters were in inconsistent order, inconsistently named, and had
inconsistent types.  This commit changes all that to, I hope, be easier to
understand.
12 files changed:
perl-module/PSPP.xs
src/data/data-in.c
src/data/data-in.h
src/language/data-io/data-parser.c
src/language/expressions/operations.def
src/language/lexer/value-parser.c
src/language/stats/flip.c
src/language/xforms/recode.c
src/ui/gui/helper.c
src/ui/gui/psppire-data-store.c
src/ui/gui/text-data-import-dialog.c
src/ui/syntax-gen.c