X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvalue.h;h=97c24050ef6264712e05c2dd8b98ea069a0ccd89;hb=18aa57536d6eac0b0562f31d9a7a01605c3d51ad;hp=9103c6b317fe8f1939767a78236a83f94924c148;hpb=c3ac5a8af9c449072c7e872ca70a78c1755ae309;p=pspp diff --git a/src/data/value.h b/src/data/value.h index 9103c6b317..97c24050ef 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. */