mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-16 08:19:31 -06:00
a major refactoring in the C runtime. GuList is now removed and replaced with GuSeq. The GuSeq/GuBuf API is simplified
This commit is contained in:
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user