X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvalue.h;h=97c24050ef6264712e05c2dd8b98ea069a0ccd89;hb=3bfe739c926ff5729b0f7849d49b79d65a9d0c91;hp=9103c6b317fe8f1939767a78236a83f94924c148;hpb=46dfa3ec7417bbb7452f152a6b62435006259633;p=pspp-builds.git diff --git a/src/data/value.h b/src/data/value.h index 9103c6b3..97c24050 100644 --- a/src/data/value.h +++ b/src/data/value.h @@ -42,11 +42,15 @@ union value *value_create (int width); int compare_values (const void *, const void *, const void *var); unsigned hash_value (const void *, const void *var); +int compare_values_short (const void *, const void *, const void *var); +unsigned hash_value_short (const void *, const void *var); + static inline size_t value_cnt_from_width (int width); void value_copy (union value *, const union value *, int width); void value_set_missing (union value *, int width); bool value_is_resizable (const union value *, int old_width, int new_width); void value_resize (union value *, int old_width, int new_width); +int value_compare_3way (const union value *, const union value *, int width); /* Number of "union value"s required for a variable of the given WIDTH. */