NPAR: use hmapx instead of hash.h
[pspp-builds.git] / src / language / stats / npar.h
index 082d396b58f91b1e09bc7e7e5511253ef88ae5a7..af093ffb9993d4711387bc5542ac5a72c5b87d00 100644 (file)
 #include <stddef.h>
 #include <stdbool.h>
 #include <data/missing-values.h>
-
-#include <stddef.h>
-#include <data/missing-values.h>
+#include <data/value.h>
 
 typedef const struct variable *variable_pair[2];
 
-struct hsh_table;
-struct const_hsh_table;
+struct hmapx;
 struct casefilter;
 struct casereader;
 struct dataset;
 
+
 struct npar_test
 {
   void (*execute) (const struct dataset *,
@@ -42,7 +40,7 @@ struct npar_test
                   double);
 
   void (*insert_variables) (const struct npar_test *,
-                           struct const_hsh_table *);
+                           struct hmapx *);
 };
 
 
@@ -67,6 +65,7 @@ struct n_sample_test
   const struct variable **vars;
   size_t n_vars;
 
+  union value val1, val2;
   const struct variable *indep_var;
 };