remove the read and write modules from libgu. this simplifies the i/o layer

This commit is contained in:
kr.angelov
2013-09-05 11:20:39 +00:00
parent d0f527d0dd
commit 83ca6c4f9f
32 changed files with 418 additions and 670 deletions

View File

@@ -1,8 +1,8 @@
#ifndef EXPR_H_
#define EXPR_H_
#include <gu/read.h>
#include <gu/write.h>
#include <gu/in.h>
#include <gu/out.h>
#include <gu/variant.h>
#include <gu/seq.h>
@@ -180,18 +180,18 @@ struct PgfPrintContext {
};
void
pgf_print_literal(PgfLiteral lit, GuWriter* wtr, GuExn* err);
pgf_print_literal(PgfLiteral lit, GuOut* out, GuExn* err);
void
pgf_print_expr(PgfExpr expr, PgfPrintContext* ctxt, int prec,
GuWriter* wtr, GuExn* err);
GuOut* out, GuExn* err);
PgfPrintContext*
pgf_print_hypo(PgfHypo *hypo, PgfPrintContext* ctxt, int prec,
GuWriter *wtr, GuExn *err);
GuOut* out, GuExn *err);
void
pgf_print_type(PgfType *type, PgfPrintContext* ctxt, int prec,
GuWriter *wtr, GuExn *err);
GuOut* out, GuExn *err);
#endif /* EXPR_H_ */