Work on support for variable sets.
[pspp] / src / data / casereader-provider.h
index f93a60c4e04d70f056d084605b5f8894d49afd8f..37bde24310c76e1a1c5c6facd49c439968c9272c 100644 (file)
@@ -148,15 +148,15 @@ struct casereader_random_class
        function should call casereader_force_error on READER. */
     void (*destroy) (struct casereader *reader, void *aux);
 
-    /* Mandatory.
+    /* Optional.
 
-       A call to this function tells the callee that the CNT
+       A call to this function tells the callee that the N
        cases at the beginning of READER will never be read again.
        The casereader implementation should free any resources
        associated with those cases.  After this function returns,
        the IDX argument in future calls to the "read" function
        will be relative to remaining cases. */
-    void (*advance) (struct casereader *reader, void *aux, casenumber cnt);
+    void (*advance) (struct casereader *reader, void *aux, casenumber n);
   };
 
 struct casereader *