From b6f6b7ee15f64b3ab129ecfa179af940f18a258d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 19 Apr 2015 14:57:38 +0000 Subject: Unify trickier node handling functions. * man_elem_alloc() -> roff_elem_alloc() * man_block_alloc() -> roff_block_alloc() The functions mdoc_elem_alloc() and mdoc_block_alloc() remain for now because they need to do mdoc(7)-specific argument processing. --- roff_int.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'roff_int.h') diff --git a/roff_int.h b/roff_int.h index 41cb4d93..8a9591e4 100644 --- a/roff_int.h +++ b/roff_int.h @@ -1,4 +1,4 @@ -/* $Id: roff_int.h,v 1.2 2015/04/19 14:25:41 schwarze Exp $ */ +/* $Id: roff_int.h,v 1.3 2015/04/19 14:57:38 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015 Ingo Schwarze @@ -23,6 +23,8 @@ struct roff_node *roff_node_alloc(struct roff_man *, int, int, void roff_node_append(struct roff_man *, struct roff_node *); void roff_word_alloc(struct roff_man *, int, int, const char *); void roff_word_append(struct roff_man *, const char *); +void roff_elem_alloc(struct roff_man *, int, int, int); +struct roff_node *roff_block_alloc(struct roff_man *, int, int, int); struct roff_node *roff_head_alloc(struct roff_man *, int, int, int); struct roff_node *roff_body_alloc(struct roff_man *, int, int, int); void roff_addeqn(struct roff_man *, const struct eqn *); -- cgit v1.2.3