aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-03-30 21:28:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-03-30 21:28:01 +0000
commit75c49a4fece7c409c4b5a3013a40f5f352eced01 (patch)
tree73acbdbfce6225ca87662d738bcca054d597209d /term.h
parentb1938d01834105572311aa9b06d667939309bee7 (diff)
downloadmandoc-75c49a4fece7c409c4b5a3013a40f5f352eced01.tar.gz
mandoc-75c49a4fece7c409c4b5a3013a40f5f352eced01.tar.zst
mandoc-75c49a4fece7c409c4b5a3013a40f5f352eced01.zip
Support relative arguments to .ll (increase or decrease line length).
Diffstat (limited to 'term.h')
-rw-r--r--term.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/term.h b/term.h
index b19ee411..54e7520b 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.98 2014/03/30 19:47:48 schwarze Exp $ */
+/* $Id: term.h,v 1.99 2014/03/30 21:28:01 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -95,7 +95,7 @@ struct termp {
void (*end)(struct termp *);
void (*endline)(struct termp *);
void (*advance)(struct termp *, size_t);
- void (*setwidth)(struct termp *, size_t);
+ void (*setwidth)(struct termp *, int, size_t);
size_t (*width)(const struct termp *, int);
double (*hspan)(const struct termp *,
const struct roffsu *);
@@ -114,7 +114,7 @@ void term_begin(struct termp *, term_margin,
term_margin, const void *);
void term_end(struct termp *);
-void term_setwidth(struct termp *, size_t);
+void term_setwidth(struct termp *, const char *);
size_t term_hspan(const struct termp *,
const struct roffsu *);
size_t term_vspan(const struct termp *,