summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-04-29 22:18:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-04-29 22:18:12 +0000
commitca0ffe9dcbdc75b372adf897f81053ccd2df605e (patch)
tree9f55cfc1c41bcf64290b9c493f1d4f2403f3780b /term.h
parentc8b861b7ce8fa5f991be88f5f1b2476c455fe717 (diff)
downloadmandoc-ca0ffe9dcbdc75b372adf897f81053ccd2df605e.tar.gz
Move "chars" interface out of out.h and into mandoc.h. This doesn't
change any code but for renaming functions and types to be consistent with other mandoc.h stuff. The reason for moving into libmandoc is that the rendering of special characters is part of mandoc itself---not an external part. From mandoc(1)'s perspective, this changes nothing, but for other utilities, it's important to have these part of libmandoc. Note this isn't documented [yet] in mandoc.3 because there are some parts I'd like to change around beforehand.
Diffstat (limited to 'term.h')
-rw-r--r--term.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/term.h b/term.h
index 0ada6094..45392359 100644
--- a/term.h
+++ b/term.h
@@ -105,7 +105,7 @@ struct termp {
#define TERMP_PREKEEP (1 << 15) /* ...starting with the next one. */
char *buf; /* Output buffer. */
enum termenc enc; /* Type of encoding. */
- void *symtab; /* Encoded-symbol table. */
+ struct mchars *symtab; /* Encoded-symbol table. */
enum termfont fontl; /* Last font set. */
enum termfont fontq[10]; /* Symmetric fonts. */
int fonti; /* Index of font stack. */