1
0
forked from GitHub/gf-core

in the PGF2 api: remove showCategory. add categoryContext and functionIsConstructor

This commit is contained in:
Krasimir Angelov
2017-10-03 16:05:01 +02:00
parent 8eef0b5376
commit e426e87cf8
6 changed files with 69 additions and 50 deletions

View File

@@ -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);