diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2012-01-21 10:27:55 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2012-01-21 10:27:55 +0000 |
| commit | 28bce1cdc01bff7a2caf1f30152b99827b907576 (patch) | |
| tree | 5d33e33762e2bd802863e7d57add9fd6d1c633e6 /src/runtime/c/pgf/expr.h | |
| parent | d164ddfbe12773c40bfc506041c2ed2d68dde7d6 (diff) | |
added an API for printing the PGF to human readable format
Diffstat (limited to 'src/runtime/c/pgf/expr.h')
| -rw-r--r-- | src/runtime/c/pgf/expr.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/expr.h b/src/runtime/c/pgf/expr.h index 7ecca30bd..65e2d66a9 100644 --- a/src/runtime/c/pgf/expr.h +++ b/src/runtime/c/pgf/expr.h @@ -147,6 +147,12 @@ PgfExpr pgf_read_expr(GuReader* rdr, GuPool* pool, GuExn* err); void -pgf_expr_print(PgfExpr expr, GuWriter* wtr, GuExn* err); +pgf_print_expr(PgfExpr expr, int prec, GuWriter* wtr, GuExn* err); + +void +pgf_print_hypo(PgfHypo *hypo, int prec, GuWriter *wtr, GuExn *err); + +void +pgf_print_type(PgfType *type, int prec, GuWriter *wtr, GuExn *err); #endif /* EXPR_H_ */ |
