// Obstack_T.i,v 4.1 2001/06/13 15:53:16 nanbor Exp template ACE_INLINE size_t ACE_Obstack_T::length () const { return this->size_ / sizeof (CHAR); } template ACE_INLINE size_t ACE_Obstack_T::size () const { return this->size_; } template ACE_INLINE void ACE_Obstack_T::grow_fast (CHAR c) { * (ACE_reinterpret_cast (CHAR *, this->curr_->cur_)) = c; this->curr_->cur_ += sizeof (CHAR); } template ACE_INLINE CHAR * ACE_Obstack_T::freeze (void) { CHAR *retv = ACE_reinterpret_cast (CHAR *, this->curr_->block_); * (ACE_reinterpret_cast (CHAR *, this->curr_->cur_)) = 0; this->curr_->cur_ += sizeof (CHAR); this->curr_->block_ = this->curr_->cur_; return retv; }