diff --git a/src/runtime/c/gu/seq.h b/src/runtime/c/gu/seq.h index 25af2b068..a555f0bad 100644 --- a/src/runtime/c/gu/seq.h +++ b/src/runtime/c/gu/seq.h @@ -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 -