Deleted Added
full compact
1c1
< .\" $Id: tbl.3,v 1.1 2013/06/01 05:44:39 schwarze Exp $
---
> .\" $Id: tbl.3,v 1.2 2015/01/30 04:11:50 schwarze Exp $
17c17
< .Dd $Mdocdate: June 1 2013 $
---
> .Dd $Mdocdate: January 30 2015 $
82,83c82,83
< .Va first_tbl ,
< .Va last_tbl ,
---
> .Fa first_tbl ,
> .Fa last_tbl ,
85c85
< .Va tbl
---
> .Fa tbl
87a88,112
> .Pp
> The
> .Fa first_span ,
> .Fa current_span ,
> .Fa last_span ,
> and
> .Fa next
> members may be
> .Dv NULL .
> The
> .Fa first_row
> and
> .Fa last_row
> members may be
> .Dv NULL ,
> but if there is a span, the function
> .Fn tbl_layout
> guarantees that these pointers are not
> .Dv NULL .
> The function
> .Fn tbl_alloc
> guarantees that the
> .Fa parse
> member is not
> .Dv NULL .
95,105d119
< .It Vt struct tbl_head
< This structure describes one layout column in a table,
< in particular the vertical line to its left.
< It is allocated and filled in
< .Fn cell_alloc Bq Pa tbl_layout.c
< and referenced from the
< .Va first_head
< and
< .Va last_head
< members of
< .Vt struct tbl_node .
112c126
< .Va layout
---
> .Fa layout
114a129,140
> .Pp
> The
> .Fa next
> member may be
> .Dv NULL .
> The function
> .Fn tbl_layout
> guarantees that the
> .Fa first
> and
> .Fa last
> members are not NULL.
122c148
< .Va first
---
> .Fa first
124c150
< .Va last
---
> .Fa last
126a153,157
> .Pp
> The
> .Fa next
> member may be
> .Dv NULL .
136,137c167,168
< .Va first_span ,
< .Va current_span ,
---
> .Fa first_span ,
> .Fa current_span ,
139c170
< .Va last_span
---
> .Fa last_span
143c174
< .Va span
---
> .Fa span
151a183,199
> .Pp
> The
> .Fa first ,
> .Fa last ,
> .Fa prev ,
> and
> .Fa next
> members may be
> .Dv NULL .
> The function
> .Fn newspan Bq Pa tbl_data.c
> guarantees that the
> .Fa opts
> and
> .Fa layout
> members are not
> .Dv NULL .
157c205
< .Fn data
---
> .Fn tbl_data
159c207
< .Va first
---
> .Fa first
161c209
< .Va last
---
> .Fa last
163a212,224
> .Pp
> The
> .Fa string
> and
> .Fa next
> members may be
> .Dv NULL .
> The function
> .Fn getdata
> guarantees that the
> .Fa layout
> member is not
> .Dv NULL .
188c249
< .Va part
---
> .Fa part
213c274
< and all the tbl_row, tbl_cell, tbl_span, tbl_dat and tbl_head structures
---
> and all the tbl_row, tbl_cell, tbl_span, and tbl_dat structures
231,232d291
< .Vt struct tbl_head
< for each layout column, one
234c293
< for each layout line, and one
---
> for each layout line and one
245,246c304,305
< .Fn data
< on that line.
---
> .Fn getdata
> for each data cell.
258c317
< .Fn data
---
> .Fn getdata
267c326
< .Fo data
---
> .Fo getdata