Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

template<class T, size_t NUM_INTERNAL_CHUNKS = 32>
void Common::ObjectPool< T, NUM_INTERNAL_CHUNKS >::deleteChunk ( T *  ptr  )  [inline]

Return the memory chunk used as storage for the given object back to the pool, after calling its destructor.

Definition at line 141 of file memorypool.h.

                               {
            ptr->~T();
            this->freeChunk(ptr);
      }


Generated by  Doxygen 1.6.0   Back to index