summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/expr.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-09-17 12:45:00 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-09-17 12:45:00 +0000
commit2a49e4e1d64ef2df0bb2a8a3822f7fa1048e687f (patch)
treea4584c3831aac1a692c8be37c0c6747480874c00 /src/runtime/c/pgf/expr.h
parentf5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 (diff)
a major refactoring in the C runtime. GuList is now removed and replaced with GuSeq. The GuSeq/GuBuf API is simplified
Diffstat (limited to 'src/runtime/c/pgf/expr.h')
-rw-r--r--src/runtime/c/pgf/expr.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/runtime/c/pgf/expr.h b/src/runtime/c/pgf/expr.h
index 485464207..08200a716 100644
--- a/src/runtime/c/pgf/expr.h
+++ b/src/runtime/c/pgf/expr.h
@@ -14,8 +14,6 @@ typedef GuVariant PgfExpr;
extern GU_DECLARE_TYPE(PgfExpr, GuVariant);
-typedef GuList(PgfExpr) PgfExprs;
-
typedef struct PgfHypo PgfHypo;
typedef struct PgfType PgfType;
@@ -63,10 +61,9 @@ struct PgfHypo {
};
typedef GuSeq PgfHypos;
-extern GU_DECLARE_TYPE(PgfHypos, GuSeq);
struct PgfType {
- PgfHypos hypos;
+ PgfHypos* hypos;
PgfCId cid; /// XXX: resolve to PgfCat*?
size_t n_exprs;
PgfExpr exprs[];