summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/expr.h
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2017-09-28 16:33:34 +0200
committerKrasimir Angelov <kr.angelov@gmail.com>2017-09-28 16:33:34 +0200
commitf2bc7ec7b64973bd8147d4394a937d6c491a71fd (patch)
tree092e61c75bfc8cd9e80417527ef36742c98e37ae /src/runtime/c/pgf/expr.h
parent1c04fa4897acfa2119fa32850bfcd6550b712da4 (diff)
added exprSubstitute in the C runtime for substituting meta variables
Diffstat (limited to 'src/runtime/c/pgf/expr.h')
-rw-r--r--src/runtime/c/pgf/expr.h6
1 files changed, 6 insertions, 0 deletions
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 {