diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-30 12:27:55 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-30 12:27:55 +0000 |
commit | 7124f05f10769bae30b3b76cc9d89f104c9e2f0c (patch) | |
tree | a5ce0023a6e63236e0551aaddbf4312638683d82 /term.h | |
parent | 66db27cbc1171f6264ee87392d5a74841a0eae40 (diff) | |
download | mandoc-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |