diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-12-02 07:34:06 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-12-02 07:34:06 +0000 |
| commit | 81bffeeaab8522951713b1d92166c2c877ceedc3 (patch) | |
| tree | 95f51dd036cb6d9094d95488706762fc8414d115 /out.h | |
| parent | 52c0e9552d2c7c67a39132a9eb3dc5a876a7429e (diff) | |
Diffstat (limited to 'out.h')
| -rw-r--r-- | out.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: out.h,v 1.22 2014/04/20 16:46:05 schwarze Exp $ */ +/* $Id: out.h,v 1.24 2014/10/14 02:16:06 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -34,6 +34,7 @@ enum roffscale { struct roffcol { size_t width; /* width of cell */ size_t decimal; /* decimal position in cell */ + int flags; /* layout flags, see tbl_cell */ }; struct roffsu { @@ -59,12 +60,13 @@ __BEGIN_DECLS while (/* CONSTCOND */ 0) #define SCALE_HS_INIT(p, v) \ - do { (p)->unit = SCALE_BU; \ + do { (p)->unit = SCALE_EN; \ (p)->scale = (v); } \ while (/* CONSTCOND */ 0) int a2roffsu(const char *, struct roffsu *, enum roffscale); -void tblcalc(struct rofftbl *tbl, const struct tbl_span *); +void tblcalc(struct rofftbl *tbl, + const struct tbl_span *, size_t); __END_DECLS |
