X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable-provider.h;fp=src%2Foutput%2Ftable-provider.h;h=d4822d01a122f085951c39eba636af454c441676;hb=94864f7df42dc6495de1f785ec4ba45f33b63515;hp=5df00458ed8a13d239ad1ea5c5ab019e1a775299;hpb=085811c026897c8deedd5b1e1786c8b51443383f;p=pspp diff --git a/src/output/table-provider.h b/src/output/table-provider.h index 5df00458ed..d4822d01a1 100644 --- a/src/output/table-provider.h +++ b/src/output/table-provider.h @@ -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