X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvalue.h;h=97c24050ef6264712e05c2dd8b98ea069a0ccd89;hb=16af7ed2b7da4aa1c38a15c5663298d6e251e458;hp=9103c6b317fe8f1939767a78236a83f94924c148;hpb=45a1201de864c76f5a8c78166dc4ff2ea4151e5d;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. */