#include "algorithm.h"
#include "alloc.h"
#include "case.h"
+#include "cat.h"
#include "error.h"
#include "hash.h"
#include "misc.h"
var_clear_short_name (v);
v->aux = NULL;
v->aux_dtor = NULL;
+ v->obs_vals = NULL;
/* Update dictionary. */
if (d->var_cnt >= d->var_cap)
/* Free memory. */
val_labs_destroy (v->val_labs);
+ cat_stored_values_destroy (v);
free (v->label);
free (v);
}
#include <stddef.h>
#include "config.h"
#include <stdbool.h>
-
+#include "cat.h"
#include "format.h"
#include "missing-values.h"
/* Each command may use these fields as needed. */
void *aux;
void (*aux_dtor) (struct variable *);
+
+ /* Values of a categorical variable which. Procedures need
+ vectors with binary entries, so any variable of type ALPHA will
+ have its values stored here. */
+ struct cat_vals *obs_vals;
};
/* Variable names. */