Implemented long variable names a la spss V12.
[pspp-builds.git] / src / val.h
index fe35aad9aeb74f5f799b8004ff395264eac97340..c4b96b1ae14a377e0a1700606518051ef8be8c80 100644 (file)
--- a/src/val.h
+++ b/src/val.h
@@ -21,6 +21,7 @@
 #define val_h 1
 
 #include <float.h>
+#include "config.h"
 
 /* Values. */
 
@@ -35,8 +36,8 @@
    then short string missing values can be truncated in system files
    because there's only room for as many characters as can fit in a
    flt64. */
-#if MAX_SHORT_STRING > 8
-#error MAX_SHORT_STRING must be less than 8.
+#if MAX_SHORT_STRING > SHORT_NAME_LEN
+#error MAX_SHORT_STRING must be less than or equal to SHORT_NAME_LEN.
 #endif
 
 /* Special values. */
@@ -69,5 +70,8 @@ union value
 
 int compare_values (const union value *a, const union value *b, int width);
 
+unsigned  hash_value(const union value  *v, int width);
+
+
 
 #endif /* !val_h */