added exprSubstitute in the C runtime for substituting meta variables

This commit is contained in:
Krasimir Angelov
2017-09-28 16:33:34 +02:00
parent 1c04fa4897
commit f2bc7ec7b6
5 changed files with 205 additions and 23 deletions

View File

@@ -203,6 +203,12 @@ pgf_expr_size(PgfExpr expr);
PGF_API GuSeq*
pgf_expr_functions(PgfExpr expr, GuPool* pool);
PGF_API PgfExpr
pgf_expr_substitute(PgfExpr expr, GuSeq* meta_values, GuPool* pool);
PGF_API PgfType*
pgf_type_substitute(PgfType* type, GuSeq* meta_values, GuPool* pool);
typedef struct PgfPrintContext PgfPrintContext;
struct PgfPrintContext {