From 8fd24c3839e7d171e0c4170ae17b26c7ff5aec1b Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 24 Dec 2014 14:20:30 +0000 Subject: more compact implementation for GuStringBuf --- src/runtime/c/gu/seq.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/runtime/c/gu/seq.h') diff --git a/src/runtime/c/gu/seq.h b/src/runtime/c/gu/seq.h index a555f0bad..f7446728e 100644 --- a/src/runtime/c/gu/seq.h +++ b/src/runtime/c/gu/seq.h @@ -178,10 +178,7 @@ GuSeq* gu_buf_freeze(GuBuf* buf, GuPool* pool); #endif // GU_SEQ_H_ -#if defined(GU_OUT_H_) && !defined(GU_SEQ_H_OUT_) -#define GU_SEQ_H_OUT_ - -GuOut* -gu_buf_out(GuBuf* buf, GuPool* pool); - -#endif +#ifdef GU_STRING_H_ +void +gu_buf_require(GuBuf* buf, size_t req_len); +#endif // GU_STRING_H_ -- cgit v1.2.3