table: Simplify interface for number of rows and columns.
[pspp] / src / output / table-provider.h
index 8b7fdf0a710435bfe81067228005fdbabf20b148..27bf5f47bca3c89cd4454fad1eb7ba0e38d5cac9 100644 (file)
@@ -137,12 +137,7 @@ struct table_class
                      struct cell_color *color);
   };
 
-void table_init (struct table *, const struct table_class *);
-
-/* Table class implementations can call these functions or just set the
-   table's n[] and h[][] members directly. */
-void table_set_nc (struct table *, int nc);
-void table_set_nr (struct table *, int nr);
+void table_init (struct table *, const struct table_class *, int nc, int nr);
 \f
 /* For use primarily by output drivers. */