From e3aa392e63b0d0f314b286d207cd187be5837ad8 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Wed, 4 Oct 2017 09:45:56 +0200 Subject: further extend the API of the C runtime --- src/runtime/c/pgf/pgf.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (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 908cefa69..d4cc63097 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -84,6 +84,9 @@ pgf_start_cat(PgfPGF* pgf, GuPool* pool); PGF_API_DECL PgfHypos* pgf_category_context(PgfPGF *gr, PgfCId catname); +PGF_API_DECL prob_t +pgf_category_prob(PgfPGF* pgf, PgfCId catname); + PGF_API_DECL void pgf_iter_functions(PgfPGF* pgf, GuMapItor* itor, GuExn* err); @@ -97,7 +100,7 @@ pgf_function_type(PgfPGF* pgf, PgfCId funname); PGF_API_DECL bool pgf_function_is_constructor(PgfPGF* pgf, PgfCId funname); -PGF_API_DECL double +PGF_API_DECL prob_t pgf_function_prob(PgfPGF* pgf, PgfCId funname); PGF_API_DECL GuString -- cgit v1.2.3