X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcategory.h;h=db4bb339bcb5e6ecab1bd0de98a76632dfe20f95;hb=3d161b40e72009aeca4bfc1cb8be82d05d7e6e2a;hp=6ef408577913207654bc77e5222edcd1e4fe7812;hpb=685407ad62911e5edb1ec093a01ec9e46563af44;p=pspp-builds.git diff --git a/src/data/category.h b/src/data/category.h index 6ef40857..db4bb339 100644 --- a/src/data/category.h +++ b/src/data/category.h @@ -50,6 +50,11 @@ const union value *cat_subscript_to_value (const size_t, void cat_value_update (const struct variable *, const union value *); +/* + Return the count for the sth category. +*/ +size_t +cat_get_category_count (const size_t, const struct variable *); /* Return the number of categories of a categorical variable.