mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-26 11:18:55 -06:00
remove the deprecated pgf_print_expr_tuple
This commit is contained in:
@@ -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_API bool
|
||||||
pgf_type_eq(PgfType* t1, PgfType* t2)
|
pgf_type_eq(PgfType* t1, PgfType* t2)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -229,10 +229,6 @@ PGF_API_DECL void
|
|||||||
pgf_print_context(PgfHypos *hypos, PgfPrintContext* ctxt,
|
pgf_print_context(PgfHypos *hypos, PgfPrintContext* ctxt,
|
||||||
GuOut *out, GuExn *err);
|
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_API PgfLiteral
|
||||||
pgf_clone_literal(PgfLiteral lit, GuPool* pool);
|
pgf_clone_literal(PgfLiteral lit, GuPool* pool);
|
||||||
|
|
||||||
|
|||||||
@@ -513,9 +513,6 @@ foreign import ccall "pgf/expr.h pgf_compute"
|
|||||||
foreign import ccall "pgf/expr.h pgf_print_expr"
|
foreign import ccall "pgf/expr.h pgf_print_expr"
|
||||||
pgf_print_expr :: PgfExpr -> Ptr PgfPrintContext -> CInt -> Ptr GuOut -> Ptr GuExn -> IO ()
|
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"
|
foreign import ccall "pgf/expr.h pgf_print_type"
|
||||||
pgf_print_type :: PgfType -> Ptr PgfPrintContext -> CInt -> Ptr GuOut -> Ptr GuExn -> IO ()
|
pgf_print_type :: PgfType -> Ptr PgfPrintContext -> CInt -> Ptr GuOut -> Ptr GuExn -> IO ()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user