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/pgf.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/runtime/c/pgf/pgf.h') diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h index c7a14dceb..908cefa69 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -81,6 +81,9 @@ pgf_iter_categories(PgfPGF* pgf, GuMapItor* itor, GuExn* err); PGF_API_DECL PgfType* pgf_start_cat(PgfPGF* pgf, GuPool* pool); +PGF_API_DECL PgfHypos* +pgf_category_context(PgfPGF *gr, PgfCId catname); + PGF_API_DECL void pgf_iter_functions(PgfPGF* pgf, GuMapItor* itor, GuExn* err); @@ -91,6 +94,9 @@ pgf_iter_functions_by_cat(PgfPGF* pgf, PgfCId catname, PGF_API_DECL PgfType* pgf_function_type(PgfPGF* pgf, PgfCId funname); +PGF_API_DECL bool +pgf_function_is_constructor(PgfPGF* pgf, PgfCId funname); + PGF_API_DECL double pgf_function_prob(PgfPGF* pgf, PgfCId funname); -- cgit v1.2.3