/* PSPP - binary encodings for categorical variables.
Copyright (C) 2005 Free Software Foundation, Inc.
- Written by Jason H Stover <jason@sakla.net>.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
*/
#include <config.h>
-#include "category.h"
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
/*
Return the number of categories of a categorical variable.
*/
-size_t
+size_t
cat_get_n_categories (const struct variable *v)
{
return var_get_obs_vals (v)->n_categories;