Implement MRSETS command.
[pspp-builds.git] / src / data / value-labels.c
index ff78b9d2b35462a34491430aecff3d80759a2c52..b1c0dc7ae2682c9fec73dd2d322fea651e251002 100644 (file)
@@ -118,6 +118,13 @@ val_labs_clear (struct val_labs *vls)
     }
 }
 
+/* Returns the width of VLS. */
+int
+val_labs_get_width (const struct val_labs *vls)
+{
+  return vls->width;
+}
+
 /* Returns the number of value labels in VLS.
    Returns 0 if VLS is null. */
 size_t