pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp/src cat.c


From: Jason H Stover
Subject: [Pspp-cvs] pspp/src cat.c
Date: Mon, 09 Jan 2006 00:53:58 +0000

CVSROOT:        /sources/pspp
Module name:    pspp
Branch:         
Changes by:     Jason H Stover <address@hidden> 06/01/09 00:53:58

Modified files:
        src            : cat.c 

Log message:
        Tidying types

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/cat.c.diff?tr1=1.10&tr2=1.11&r1=text&r2=text

Patches:
Index: pspp/src/cat.c
diff -u pspp/src/cat.c:1.10 pspp/src/cat.c:1.11
--- pspp/src/cat.c:1.10 Sun Nov 27 20:25:51 2005
+++ pspp/src/cat.c      Mon Jan  9 00:53:58 2006
@@ -130,3 +130,13 @@
       return NULL;
     }
 }
+
+/*
+  Return the number of categories of a categorical variable.
+ */
+size_t 
+cat_get_n_categories (const struct variable *v)
+{
+  return v->obs_vals->n_categories;
+}
+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]