diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2014-10-23 21:21:21 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2014-10-23 21:21:21 +0000 |
| commit | 18f8f2e4f4f492775f63156660641f1c1203bd17 (patch) | |
| tree | 10607daf44919673a427805e9c6a646b27a8fbd5 /src/runtime | |
| parent | aff68e74222f03d36abdfb2e0ebb5c3f98e95df8 (diff) | |
remove some deadcode in gu/seq.h
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/c/gu/seq.h | 34 |
1 files changed, 0 insertions, 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 - |
