X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvalue-labels.h;h=9e8a4719d5ad83d2e1b95fbd9b45d6f0b24d206c;hb=5156fa5a8323a16f6b4bbc8950221cdc1d0e023d;hp=50a00a3e4d656da8407c820d03d89f661b43ccb9;hpb=e91248ddc41199bda0676817debf080c2b7835a1;p=pspp-builds.git diff --git a/src/value-labels.h b/src/value-labels.h index 50a00a3e..9e8a4719 100644 --- a/src/value-labels.h +++ b/src/value-labels.h @@ -53,4 +53,10 @@ struct val_lab *val_labs_next (const struct val_labs *, struct val_labs_iterator **); void val_labs_done (struct val_labs_iterator **); +/* Return a string representing this value, in the form most + appropriate from a human factors perspective. + (IE: the label if it has one, otherwise the alpha/numeric ) +*/ +const char *value_to_string(const union value *, const struct variable *); + #endif /* value-labels.h */