summaryrefslogtreecommitdiff
path: root/src/runtime/c
diff options
context:
space:
mode:
authorkrangelov <kr.angelov@gmail.com>2020-08-14 21:03:48 +0200
committerkrangelov <kr.angelov@gmail.com>2020-08-14 21:03:48 +0200
commit90fc1d750ed21e78e10a37c0699b27665bda0c47 (patch)
treebc1339bc50831fe0680146321c95677720e2137b /src/runtime/c
parent24beed9a953432565d9577620b7c0f51bb2824c3 (diff)
remove the deprecated pgf_print_expr_tuple
Diffstat (limited to 'src/runtime/c')
-rw-r--r--src/runtime/c/pgf/expr.c13
-rw-r--r--src/runtime/c/pgf/expr.h4
2 files changed, 0 insertions, 17 deletions
diff --git a/src/runtime/c/pgf/expr.c b/src/runtime/c/pgf/expr.c
index 2034a2d61..7bd1601d8 100644
--- a/src/runtime/c/pgf/expr.c
+++ b/src/runtime/c/pgf/expr.c
@@ -1635,19 +1635,6 @@ pgf_print_context(PgfHypos *hypos, PgfPrintContext* ctxt,
}
}
-PGF_API void
-pgf_print_expr_tuple(size_t n_exprs, PgfExpr exprs[], PgfPrintContext* ctxt,
- GuOut* out, GuExn* err)
-{
- gu_putc('<', out, err);
- for (size_t i = 0; i < n_exprs; i++) {
- if (i > 0)
- gu_putc(',', out, err);
- pgf_print_expr(exprs[i], ctxt, 0, out, err);
- }
- gu_putc('>', out, err);
-}
-
PGF_API bool
pgf_type_eq(PgfType* t1, PgfType* t2)
{
diff --git a/src/runtime/c/pgf/expr.h b/src/runtime/c/pgf/expr.h
index 59af969ec..9a5d483a5 100644
--- a/src/runtime/c/pgf/expr.h
+++ b/src/runtime/c/pgf/expr.h
@@ -229,10 +229,6 @@ PGF_API_DECL void
pgf_print_context(PgfHypos *hypos, PgfPrintContext* ctxt,
GuOut *out, GuExn *err);
-PGF_API_DECL void
-pgf_print_expr_tuple(size_t n_exprs, PgfExpr exprs[], PgfPrintContext* ctxt,
- GuOut* out, GuExn* err);
-
PGF_API PgfLiteral
pgf_clone_literal(PgfLiteral lit, GuPool* pool);