mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
remove some deadcode in gu/seq.h
This commit is contained in:
@@ -185,37 +185,3 @@ GuOut*
|
||||
gu_buf_out(GuBuf* buf, GuPool* pool);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(GU_TYPE_H_) && !defined(GU_SEQ_H_TYPE_)
|
||||
#define GU_SEQ_H_TYPE_
|
||||
|
||||
extern GU_DECLARE_KIND(GuSeq);
|
||||
extern GU_DECLARE_KIND(GuBuf);
|
||||
|
||||
struct GuSeqType {
|
||||
GuType_GuOpaque opaque_base;
|
||||
GuType* elem_type;
|
||||
};
|
||||
|
||||
typedef const struct GuSeqType GuSeqType, GuType_GuSeq;
|
||||
|
||||
#define GU_TYPE_INIT_GuSeq(k_, t_, elem_type_) { \
|
||||
.opaque_base = GU_TYPE_INIT_GuOpaque(k_, t_, _), \
|
||||
.elem_type = elem_type_, \
|
||||
}
|
||||
|
||||
typedef struct GuBufType GuBufType, GuType_GuBuf;
|
||||
|
||||
struct GuBufType {
|
||||
GuType_abstract abstract_base;
|
||||
GuType* elem_type;
|
||||
};
|
||||
|
||||
#define GU_TYPE_INIT_GuBuf(KIND, BUF_T, ELEM_T) { \
|
||||
.abstract_base = GU_TYPE_INIT_abstract(KIND, BUF_T, _), \
|
||||
.elem_type = ELEM_T \
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user