summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/expr.h
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2015-11-19 13:18:19 +0000
committerkrasimir <krasimir@chalmers.se>2015-11-19 13:18:19 +0000
commit9f9b23d0dddd3b61e4289cfbcf08241deddc65de (patch)
treefea7f97a8c55e97ed30493cc464b14ff095ed751 /src/runtime/c/pgf/expr.h
parentfe7397efe4403f94797203e6bf00daa95d749618 (diff)
added mkInt and mkFloat in the Haskell binding to make it easy to create literal expressions
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 23aa971f0..2e76bf21d 100644
--- a/src/runtime/c/pgf/expr.h
+++ b/src/runtime/c/pgf/expr.h
@@ -150,6 +150,12 @@ PgfExpr
pgf_expr_string(GuString, GuPool* pool);
PgfExpr
+pgf_expr_int(int val, GuPool* pool);
+
+PgfExpr
+pgf_expr_float(double val, GuPool* pool);
+
+PgfExpr
pgf_read_expr(GuIn* in, GuPool* pool, GuExn* err);
int