Fixed bug updating cell ref and datum entry widgets
[pspp-builds.git] / src / data / caseinit.h
index 6d8e790b6654712cd2809f166d3f8d078690d41b..3c849805a69a8fc2c518f5e9d13264fa1412507c 100644 (file)
@@ -17,7 +17,7 @@
    02110-1301, USA. */
 
 /* Case initializer.
-   
+
    The procedure code has to resize cases provided by the active
    file data source, to provide room for any other variables that
    should go in the case, fill in the values of "left" variables,
@@ -26,7 +26,9 @@
    save the values of "left" variables to copy into the next case
    read from the active file.
 
-   The caseinit code helps with this. */
+   The caseinit data structure provides a little help for
+   tracking what data to initialize or to copy from case to
+   case. */
 
 #ifndef DATA_CASEINIT_H
 #define DATA_CASEINIT_H 1
 struct dictionary;
 struct ccase;
 
+/* Creation and destruction. */
 struct caseinit *caseinit_create (void);
 void caseinit_clear (struct caseinit *);
 void caseinit_destroy (struct caseinit *);
 
+/* Track data to be initialized. */
 void caseinit_mark_as_preinited (struct caseinit *, const struct dictionary *);
 void caseinit_mark_for_init (struct caseinit *, const struct dictionary *);
 
-void caseinit_init_reinit_vars (const struct caseinit *, struct ccase *);
-void caseinit_init_left_vars (const struct caseinit *, struct ccase *);
+/* Initialize data and copy data from case to case. */
+void caseinit_init_vars (const struct caseinit *, struct ccase *);
 void caseinit_update_left_vars (struct caseinit *, const struct ccase *);
 
 #endif /* data/caseinit.h */