Mercurial > hg-old > index.cgi
diff lwlib/lw_expr.h @ 372:90de73ba0cac
Created a useful debug framework and adjusted lw_expr_print() to return a "static" dynamic string
author | lost@starbug |
---|---|
date | Thu, 22 Apr 2010 18:19:06 -0600 |
parents | 6b33faa21a0a |
children | 91c0fe026940 |
line wrap: on
line diff
--- a/lwlib/lw_expr.h Wed Apr 21 23:29:18 2010 -0600 +++ b/lwlib/lw_expr.h Thu Apr 22 18:19:06 2010 -0600 @@ -82,7 +82,7 @@ extern lw_expr_t lw_expr_copy(lw_expr_t E); extern void lw_expr_add_operand(lw_expr_t E, lw_expr_t O); extern lw_expr_t lw_expr_build(int exprtype, ...); -extern void lw_expr_print(lw_expr_t E, FILE *fp); +extern char *lw_expr_print(lw_expr_t E); extern int lw_expr_compare(lw_expr_t E1, lw_expr_t E2); extern void lw_expr_simplify(lw_expr_t E, void *priv);