work
[pspp] / src / output / table-provider.h
index 5df00458ed8a13d239ad1ea5c5ab019e1a775299..d4822d01a122f085951c39eba636af454c441676 100644 (file)
@@ -61,10 +61,6 @@ struct table_cell
     size_t n_footnotes;
 
     const struct area_style *style;
-
-    /* Called to free the cell's data, if nonnull. */
-    void (*destructor) (void *destructor_aux);
-    void *destructor_aux;
   };
 
 void table_cell_free (struct table_cell *);
@@ -100,18 +96,12 @@ table_cell_is_joined (const struct table_cell *cell)
 
 struct table_class
   {
-    /* Frees TABLE.
-
-       The table class may assume that any cells that were retrieved by calling
-       the 'get_cell' function have been freed (by calling their destructors)
-       before this function is called. */
+    /* Frees TABLE. */
     void (*destroy) (struct table *table);
 
     /* Initializes CELL with the contents of the table cell at column X and row
-       Y within TABLE.  All members of CELL must be initialized, except that if
-       'destructor' is set to a null pointer, then 'destructor_aux' need not be
-       initialized.  The 'contents' member of CELL must be set to a nonnull
-       value.
+       Y within TABLE.  All members of CELL must be initialized.  The
+       'contents' member of CELL must be set to a nonnull value.
 
        The table class must allow any number of cells in the table to be
        retrieved simultaneously; that is, TABLE must not assume that a given