diff options
Diffstat (limited to 'src/runtime/c/pgf/pgf.h')
| -rw-r--r-- | src/runtime/c/pgf/pgf.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h index 9963534b5..1f3947bff 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -54,6 +54,9 @@ extern GU_DECLARE_TYPE(PgfConcr, struct); #include <pgf/expr.h> #include <pgf/lexer.h> +/// An enumeration of #PgfExpr elements. +typedef GuEnum PgfExprEnum; + PgfPGF* pgf_read(const char* fpath, GuPool* pool, GuExn* err); @@ -109,9 +112,12 @@ pgf_print_name(PgfConcr*, PgfCId id); void pgf_linearize(PgfConcr* concr, PgfExpr expr, GuWriter* wtr, GuExn* err); -GuEnum* +PgfExprEnum* pgf_parse(PgfConcr* concr, PgfCId cat, PgfLexer *lexer, GuPool* pool); +PgfExprEnum* +pgf_generate(PgfPGF* pgf, PgfCId cat, GuPool* pool); + // an experimental function. Please don't use it void pgf_print_chunks(PgfConcr* concr, PgfCId cat, PgfLexer *lexer, GuPool* pool); |
