From f2bc7ec7b64973bd8147d4394a937d6c491a71fd Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Thu, 28 Sep 2017 16:33:34 +0200 Subject: added exprSubstitute in the C runtime for substituting meta variables --- src/runtime/c/pgf/expr.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/runtime/c/pgf/expr.h') diff --git a/src/runtime/c/pgf/expr.h b/src/runtime/c/pgf/expr.h index 2f1e9ebf6..0fc6774ac 100644 --- a/src/runtime/c/pgf/expr.h +++ b/src/runtime/c/pgf/expr.h @@ -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 { -- cgit v1.2.3