header rows or columns.
Sets the number of header rows on each side of TABLE to HL on the
- left, HR on the right, HT on the top, HB on the bottom. Header rows
+ left, HT on the top. Header rows
are repeated when a table is broken across multiple columns or
multiple pages.
The table's cells are initially empty. */
struct table *
-table_create (int nc, int nr, int hl, int hr, int ht, int hb)
+table_create (int nc, int nr, int hl, int ht)
{
struct pool *pool = pool_create ();
struct table *t = pool_alloc (pool, sizeof *t);
*t = (struct table) {
.container = pool,
.n = { [H] = nc, [V] = nr },
- .h = { [H] = { hl, hr }, [V] = { ht, hb } },
+ .h = { [H] = hl, [V] = ht },
.ref_cnt = 1,
.cc = pool_calloc (pool, nr * nc, sizeof *t->cc),
.cp = pool_calloc (pool, nr * nc, sizeof *t->cp),