summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-30 12:27:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-30 12:27:55 +0000
commit38931802fd8955ea9a7423f1a83b5578eaa9314e (patch)
tree2fc2c109b4907dbcb1d4e7015be734c5d4763be3 /term.h
parentdcf50a690b6571696456b49bcbccad413234f421 (diff)
downloadmandoc-38931802fd8955ea9a7423f1a83b5578eaa9314e.tar.gz
Move term_hspan() calculation into the output devices, where it belongs.
Diffstat (limited to 'term.h')
-rw-r--r--term.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/term.h b/term.h
index ff39cb7c..a884ccad 100644
--- a/term.h
+++ b/term.h
@@ -103,6 +103,8 @@ struct termp {
void (*endline)(struct termp *);
void (*advance)(struct termp *, size_t);
size_t (*width)(const struct termp *, char);
+ size_t (*hspan)(const struct termp *,
+ const struct roffsu *);
const void *argf; /* arg for headf/footf */
union {
struct termp_ps ps;