From 512ce49526822961cde1cef8b80236afa5ddb4dc Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 12 Jul 2011 21:32:43 +0000 Subject: Have equation be allocated with mparse. Will be needed for logging of messages. --- libroff.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libroff.h') diff --git a/libroff.h b/libroff.h index d0136887..9831b19e 100644 --- a/libroff.h +++ b/libroff.h @@ -1,4 +1,4 @@ -/* $Id: libroff.h,v 1.20 2011/03/20 16:02:05 kristaps Exp $ */ +/* $Id: libroff.h,v 1.21 2011/07/12 21:32:43 kristaps Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * @@ -45,6 +45,7 @@ struct tbl_node { struct eqn_node { struct eqn eqn; struct eqn_node *next; + struct mparse *parse; }; struct tbl_node *tbl_alloc(int, int, struct mparse *); @@ -58,7 +59,7 @@ int tbl_data(struct tbl_node *, int, const char *); int tbl_cdata(struct tbl_node *, int, const char *); const struct tbl_span *tbl_span(struct tbl_node *); void tbl_end(struct tbl_node *); -struct eqn_node *eqn_alloc(int, int); +struct eqn_node *eqn_alloc(int, int, struct mparse *); void eqn_end(struct eqn_node *); void eqn_free(struct eqn_node *); enum rofferr eqn_read(struct eqn_node **, int, const char *, int); -- cgit v1.2.3