From e426e87cf8a0eb722e4ffc2239d864d53f5e476f Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Tue, 3 Oct 2017 16:05:01 +0200 Subject: in the PGF2 api: remove showCategory. add categoryContext and functionIsConstructor --- src/runtime/c/pgf/expr.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/runtime/c/pgf/expr.h') diff --git a/src/runtime/c/pgf/expr.h b/src/runtime/c/pgf/expr.h index 0fc6774ac..013de08f4 100644 --- a/src/runtime/c/pgf/expr.h +++ b/src/runtime/c/pgf/expr.h @@ -238,11 +238,7 @@ PGF_API_DECL void pgf_print_expr_tuple(size_t n_exprs, PgfExpr exprs[], PgfPrintContext* ctxt, GuOut* out, GuExn* err); -PGF_API_DECL void -pgf_print_category(PgfPGF *gr, PgfCId catname, - GuOut* out, GuExn *err); - -PGF_API prob_t +PGF_API_DECL prob_t pgf_compute_tree_probability(PgfPGF *gr, PgfExpr expr); #endif /* EXPR_H_ */ -- cgit v1.2.3