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 /roff.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 'roff.c')
-rw-r--r-- | roff.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1375,3 +1375,10 @@ roff_freestr(struct roff *r) r->first_string = NULL; } + +const struct tbl_span * +roff_span(const struct roff *r) +{ + + return(r->tbl ? tbl_span(r->tbl) : NULL); +} |