aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libman.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-18 07:46:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-18 07:46:41 +0000
commit495895571c4a70fbf6e228700c3d58f4e7560839 (patch)
tree76be9f83a27d07a076566eb9b1c97c25ccd5db6c /libman.h
parentf8842cd771b741905db8b54ed39c155f3a4ffa51 (diff)
downloadmandoc-495895571c4a70fbf6e228700c3d58f4e7560839.tar.gz
mandoc-495895571c4a70fbf6e228700c3d58f4e7560839.tar.zst
mandoc-495895571c4a70fbf6e228700c3d58f4e7560839.zip
Make `struct roff' be passed into libmdoc and libman upon creation.
This is required for supporting in-line equations. While here, push registers properly into roff and add an set/get/mod interface.
Diffstat (limited to 'libman.h')
-rw-r--r--libman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libman.h b/libman.h
index 30c159f7..8cf5e372 100644
--- a/libman.h
+++ b/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.51 2011/03/23 15:33:57 kristaps Exp $ */
+/* $Id: libman.h,v 1.52 2011/07/18 07:46:41 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -37,6 +37,7 @@ struct man {
struct man_node *first; /* the first parsed node */
struct man_meta meta; /* document meta-data */
struct regset *regs; /* registers */
+ struct roff *roff;
};
#define MACRO_PROT_ARGS struct man *m, \