X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvar.h;h=c1ad04c5ef2803560c8ce02bc27b681078b193ad;hb=0dfeb46aa388fae94797accde705a13d9ef7aff8;hp=a07772a3887ccde463f1bc1be0d80747d2445522;hpb=06f9ee45954e5e71fa7f6262dbf37defa1dbf996;p=pspp diff --git a/src/var.h b/src/var.h index a07772a388..c1ad04c5ef 100644 --- a/src/var.h +++ b/src/var.h @@ -22,7 +22,7 @@ #include #include "format.h" -#include "t-test.h" +#include "group_proc.h" #include "val.h" /* Frequency tables. */ @@ -219,7 +219,7 @@ struct variable struct means_proc mns; struct matrix_data_proc mxd; struct match_files_proc mtf; - struct t_test_proc t_t; + struct group_proc grp_data; } p; }; @@ -433,4 +433,13 @@ int parse_var_set_vars (const struct var_set *, struct variable ***, int *, int parse_DATA_LIST_vars (char ***names, int *cnt, int opts); int parse_mixed_vars (char ***names, int *cnt, int opts); + + +/* Return a string representing this variable, in the form most + appropriate from a human factors perspective. + (IE: the label if it has one, otherwise the name ) +*/ +const char * var_to_string(const struct variable *var); + + #endif /* !var_h */