From 0c6ba90dd821e65e52fc3c3cfc74f05e1e8233fd Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 23 Oct 2014 21:21:21 +0000 Subject: [PATCH] remove some deadcode in gu/seq.h --- src/runtime/c/gu/seq.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) 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 -