summaryrefslogtreecommitdiff
path: root/src/runtime
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
parent24beed9a953432565d9577620b7c0f51bb2824c3 (diff)
remove the deprecated pgf_print_expr_tuple
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/c/pgf/expr.c13
-rw-r--r--src/runtime/c/pgf/expr.h4
-rw-r--r--src/runtime/haskell-bind/PGF2/FFI.hsc3
3 files changed, 0 insertions, 20 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);
diff --git a/src/runtime/haskell-bind/PGF2/FFI.hsc b/src/runtime/haskell-bind/PGF2/FFI.hsc
index f0a811c6d..c72c48e3b 100644
--- a/src/runtime/haskell-bind/PGF2/FFI.hsc
+++ b/src/runtime/haskell-bind/PGF2/FFI.hsc
@@ -513,9 +513,6 @@ foreign import ccall "pgf/expr.h pgf_compute"
foreign import ccall "pgf/expr.h pgf_print_expr"
pgf_print_expr :: PgfExpr -> Ptr PgfPrintContext -> CInt -> Ptr GuOut -> Ptr GuExn -> IO ()
-foreign import ccall "pgf/expr.h pgf_print_expr_tuple"
- pgf_print_expr_tuple :: CSizeT -> Ptr PgfExpr -> Ptr PgfPrintContext -> Ptr GuOut -> Ptr GuExn -> IO ()
-
foreign import ccall "pgf/expr.h pgf_print_type"
pgf_print_type :: PgfType -> Ptr PgfPrintContext -> CInt -> Ptr GuOut -> Ptr GuExn -> IO ()