aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit7124f05f10769bae30b3b76cc9d89f104c9e2f0c (patch)
treea5ce0023a6e63236e0551aaddbf4312638683d82 /term.h
parent66db27cbc1171f6264ee87392d5a74841a0eae40 (diff)
downloadmandoc-7124f05f10769bae30b3b76cc9d89f104c9e2f0c.tar.gz
mandoc-7124f05f10769bae30b3b76cc9d89f104c9e2f0c.tar.zst
mandoc-7124f05f10769bae30b3b76cc9d89f104c9e2f0c.zip
Move term_hspan() calculation into the output devices, where it belongs.
Diffstat (limited to 'term.h')
-rw-r--r--term.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/term.h b/term.h
index df175e15..78577714 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.69 2010/06/30 11:45:21 kristaps Exp $ */
+/* $Id: term.h,v 1.70 2010/06/30 12:27:55 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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;