--- parser3/src/include/pa_string.h 2001/10/29 13:04:46 1.109 +++ parser3/src/include/pa_string.h 2001/10/29 15:15:11 1.111 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.h,v 1.109 2001/10/29 13:04:46 paf Exp $ + $Id: pa_string.h,v 1.111 2001/10/29 15:15:11 paf Exp $ */ #ifndef PA_STRING_H @@ -271,15 +271,12 @@ private: Chunk::Row *link_row; private: - // last chunk + /// last chunk Chunk *last_chunk; - // string size + /// string size size_t fsize; - // used rows in all chunks - int fused_rows; - /// origins_mode changes behaviour of store_to[cstr()] mutable bool forigins_mode; @@ -288,6 +285,7 @@ private: bool chunk_is_full() { return append_here == link_row; } + uint used_rows() const; void expand(); size_t cstr_bufsize(Untaint_lang lang) const;