diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-31 18:19:43 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-31 18:19:43 +0000 |
commit | 38cc8e94560761d1c42f01b74c32483dc510b5e2 (patch) | |
tree | b533e02e1ee5d660cb6806eaad43d8b4450ad68f /tbl.c | |
parent | 9c243a1c877e4c624333ef5f2c736974a3c52251 (diff) | |
download | mandoc-38cc8e94560761d1c42f01b74c32483dc510b5e2.tar.gz |
Expose the parsed table API to the world and add accessors through the
roff.h interface.
Diffstat (limited to 'tbl.c')
-rw-r--r-- | tbl.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -120,3 +120,10 @@ tbl_restart(struct tbl *tbl) tbl->part = TBL_PART_LAYOUT; } +const struct tbl_span * +tbl_span(const struct tbl *tbl) +{ + + assert(tbl); + return(tbl->last_span); +} |